diff options
| author | Paul Iannetta <paul.iannetta@ens-lyon.fr> | 2022-04-21 23:23:15 +0200 |
|---|---|---|
| committer | Paul Iannetta <paul.iannetta@ens-lyon.fr> | 2022-04-21 23:23:15 +0200 |
| commit | 0e17bc4c0540c5c8fc884c783bda369ebf23c021 (patch) | |
| tree | db0a3089e839b9606ee4710a74db80d8b0922779 /.config/dovecot/dove.conf | |
| parent | 4c48b491341d434453cb4d5a46510c74f43ded56 (diff) | |
add conf for dovecot as a local mail server
Diffstat (limited to '.config/dovecot/dove.conf')
| -rwxr-xr-x | .config/dovecot/dove.conf | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.config/dovecot/dove.conf b/.config/dovecot/dove.conf new file mode 100755 index 0000000..fd63ae7 --- /dev/null +++ b/.config/dovecot/dove.conf @@ -0,0 +1,36 @@ +default_internal_user = lys +default_login_user = lys +default_internal_group = users +instance_name = dovecot-lys +log_path = /home/lys/.local/var/log/dovecot.log +protocols = imap +ssl = no + +service imap-login { + chroot = +} + +service anvil { + chroot = +} + +service imap-login { + inet_listener imap { + port = 10143 + } + inet_listener imaps { + port = 10993 + } +} + +passdb { + args = username_format=%Lu scheme=plain /home/lys/.config/dovecot/passwd.db + driver = passwd-file +} + +userdb { + args = home=/home/lys/.mail/%n + driver = static +} + +mail_location = maildir:/home/lys/.mail/%u:INBOX=/home/lys/.mail/%u/INBOX:LAYOUT=fs |
