diff options
Diffstat (limited to 'roles/mail/templates/dovecot.conf.j2')
| -rw-r--r-- | roles/mail/templates/dovecot.conf.j2 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/roles/mail/templates/dovecot.conf.j2 b/roles/mail/templates/dovecot.conf.j2 new file mode 100644 index 0000000..e733bae --- /dev/null +++ b/roles/mail/templates/dovecot.conf.j2 @@ -0,0 +1,22 @@ +protocols = imap +listen = * +mail_location = maildir:~/Maildir +auth_mechanisms = plain login +ssl = required +ssl_cert = </etc/letsencrypt/live/{{ vault_public_domain }}/fullchain.pem +ssl_key = </etc/letsencrypt/live/{{ vault_public_domain }}/privkey.pem + +passdb { + driver = pam +} +userdb { + driver = passwd +} + +service auth { + unix_listener /var/spool/postfix/private/auth { + group = postfix + mode = 0660 + user = postfix + } +} |