MythicSalt/states/email/dovecot/dovecot_local.conf

33 lines
643 B
Plaintext

# We use Maildir.
mail_location = maildir:~/Maildir
# Require SSL for all auth.
ssl = required
# SSL certificate locations.
ssl_cert = </var/local/certificates/mail.lunch.org.uk/fullchain.pem
ssl_key = </var/local/certificates/mail.lunch.org.uk/privkey.pem
# Plugins.
protocol lda {
mail_plugins = acl sieve
}
# IMAP - increase number of connections per IP.
protocol imap {
mail_max_userip_connections = 40
}
# Allow client auth to exim4.
service auth {
unix_listener auth-client {
mode = 0660
group = Debian-exim
}
}
# Sieve. Enable global spam handling.
plugin {
sieve_before = /var/lib/dovecot/sieve-before.d/
}