diff options
Diffstat (limited to 'dovecot/dovecot.conf')
-rw-r--r-- | dovecot/dovecot.conf | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dovecot/dovecot.conf b/dovecot/dovecot.conf new file mode 100644 index 0000000..1266741 --- /dev/null +++ b/dovecot/dovecot.conf @@ -0,0 +1,40 @@ +disable_plaintext_auth = no +mail_privileged_group = mail +mail_location = mbox:~/mail:INBOX=/var/mail/%n +userdb { + driver = passwd +} +passdb { + args = dovecot + driver = pam + #driver = passwd-file + #args = scheme=plain username_format=%n /etc/dovecot/passwd +} +protocols = " imap" + +namespace inbox { + inbox = yes + + mailbox Trash { + auto = subscribe # autocreate and autosubscribe the Trash mailbox + special_use = \Trash + } + mailbox Sent { + auto = subscribe # autocreate and autosubscribe the Sent mailbox + special_use = \Sent + } +} + + +service auth { + unix_listener /var/spool/postfix/private/auth { + group = postfix + mode = 0660 + user = postfix + } +} + +ssl=required +ssl_cert = </etc/letsencrypt/live/mail.arf20.com/fullchain.pem +ssl_key = </etc/letsencrypt/live/mail.arf20.com/privkey.pem + |