infra/group_vars/mail.yml

23 lines
895 B
YAML

---
postmaster_email: postmaster@hatecomputers.club
domain: hatecomputers.club
mail_domain: mail.hatecomputers.club
ldap_server_host: "ldaps://auth.hatecomputers.club:3636"
ldap_search_base: "dc=auth,dc=hatecomputers,dc=club"
ldap_bind_dn: "dn=token"
ldap_query_filter_user: "(&(objectClass=posixAccount)(mail=%s))"
ldap_query_filter_group: "(&(objectClass=posixAccount)(|(mail=%s)(uid=%s)))"
ldap_query_filter_alias: "(&(objectClass=posixAccount)(emailalternative=%s))"
ldap_query_filter_domain: "(&(objectClass=posixAccount)(|(mail=%s)(uid=%s)))"
ldap_query_filter_senders: "(&(objectClass=posixAccount)(|(mail=%s)(uid=%s)))"
sasl_ldap_filter: "(&(|(uid=%U)(mail=%U))(class=posixAccount))"
dovecot_user_filter: "(&(class=posixAccount)(uid=%u))"
dovecot_auth_bind_userdn: "uid=%u,dc=auth,dc=hatecomputers,dc=club"
dovecot_user_attrs: "=mail=maildir:~/Maildir,uidNumber=uid,gidNumber=gid"