diff --git a/config/dovecot/conf.d/10-auth.conf b/config/dovecot/conf.d/10-auth.conf new file mode 100644 index 00000000..3bc3bc78 --- /dev/null +++ b/config/dovecot/conf.d/10-auth.conf @@ -0,0 +1,13 @@ +auth_mechanisms = plain login cram-md5 + +passdb { + driver = sql + args = /etc/dovecot/dovecot-sql.conf.ext +} + +userdb { + driver = sql + args = /etc/dovecot/dovecot-sql.conf.ext +} + +#!include auth-system.conf.ext diff --git a/config/dovecot/conf.d/10-mail.conf b/config/dovecot/conf.d/10-mail.conf new file mode 100644 index 00000000..a982cbcd --- /dev/null +++ b/config/dovecot/conf.d/10-mail.conf @@ -0,0 +1,6 @@ +# mailbox configuration + +first_valid_gid = 70000 +first_valid_uid = 70000 +mail_access_groups = mail +mail_location = maildir:~/Maildir diff --git a/config/dovecot/conf.d/10-master.conf b/config/dovecot/conf.d/10-master.conf new file mode 100644 index 00000000..47d525df --- /dev/null +++ b/config/dovecot/conf.d/10-master.conf @@ -0,0 +1,43 @@ +service imap-login { + inet_listener imap { + port = 143 + } + inet_listener imaps { + port = 993 + } +} + +service lmtp { + unix_listener /var/spool/postfix/private/dovecot-lmtp { + user = postfix + group = postfix + mode = 0600 + } +} + +service auth { + user = doveauth + unix_listener auth-userdb { + } + unix_listener /var/spool/postfix/private/dovecot-auth { + user = postfix + group = postfix + mode = 0600 + } +} + +service auth-worker { + unix_listener auth-worker { + user = mail + group = $default_internal_user + mode = 0660 + } + user = mail +} + +service dict { + unix_listener dict { + group = mail + mode = 0660 + } +} diff --git a/config/dovecot/conf.d/10-ssl.conf b/config/dovecot/conf.d/10-ssl.conf new file mode 100644 index 00000000..a78ba85e --- /dev/null +++ b/config/dovecot/conf.d/10-ssl.conf @@ -0,0 +1,4 @@ +# SSL/TLS support +ssl = yes +ssl_cert =