ansible-roles/dovecot/templates/z-evolinux-defaults.conf.j2

37 lines
779 B
Plaintext
Raw Normal View History

2017-10-10 17:25:50 +02:00
# {{ ansible_managed }}
2017-10-13 12:45:53 +02:00
# Autorise les mécanismes PLAIN/LOGIN même sans SSL/TLS
2017-10-10 17:25:50 +02:00
disable_plaintext_auth = no
auth_mechanisms = plain login
2017-10-13 12:45:53 +02:00
# Authentification LDAP + intégration avec Postfix pour l'auth SMTP
2017-10-10 17:25:50 +02:00
!include auth-ldap.conf.ext
service auth {
unix_listener auth-userdb {
mode = 0600
user = vmail
group = vmail
}
unix_listener /var/spool/postfix/private/auth-client {
mode = 0666
user = postfix
group = postfix
}
}
2017-10-13 12:45:53 +02:00
# Stockage des emails dans /home/mail avec UID/GID 5000/5000
2017-10-10 17:25:50 +02:00
mail_location = maildir:/home/vmail/%d/%n
mail_uid = 5000
mail_gid = 5000
2017-10-13 12:45:53 +02:00
# Activation Sieve
2017-10-10 17:25:50 +02:00
protocol lda {
mail_plugins = sieve
}
2017-10-13 12:45:53 +02:00
# Optimisations
service login {
process_limit = 256
}
2017-10-13 12:45:53 +02:00
mail_max_userip_connections = 42