WIP: Setup of a mail server #9

Draft
otthorn wants to merge 151 commits from mailserver into master
Showing only changes of commit ad1a1602eb - Show all commits

View file

@ -0,0 +1,20 @@
# {{ ansible_managed }}
# Dovecot configuration for Aurore
# More info at https://gitea.auro.re/Aurore/ansible
# And on the Dovecot wiki : https://doc.dovecot.org/
uris = {{ ldap_master_uri }}
dn = {{ ldap_dovecot_bind_dn }}
dnpass = {{ ldap_dovecot_password }}
base = {{ ldap_user_tree }}
#user_attrs = homeDirectory=home, uidNumber=uid, gidNumber=gid
#user_filter = (&(objectClass=posixAccount)(uid=%u))
pass_attrs = uid=user, userPassword=password
pass_filter = (&(objectClass=posixAccount)(uid=%u))
# Convert LDAP lookup to lowercase
# would be needed if re2o did not already had lowercase enforced by a
# validator
#auth_username_format = %Lu