diff options
author | arf20 <aruizfernandez05@gmail.com> | 2023-12-24 15:54:24 +0100 |
---|---|---|
committer | arf20 <aruizfernandez05@gmail.com> | 2023-12-24 15:54:24 +0100 |
commit | b3f46e0353d404dcf886020baef82cb71e6b7eb7 (patch) | |
tree | e71b61a97953924299d1b86dcd84d54b83cb523f /dovecot | |
download | mail-conf-b3f46e0353d404dcf886020baef82cb71e6b7eb7.tar.gz mail-conf-b3f46e0353d404dcf886020baef82cb71e6b7eb7.zip |
Initial commit
Diffstat (limited to 'dovecot')
-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 + |