infra/group_vars/mail.yml

42 lines
1.6 KiB
YAML

---
postmaster_email: postmaster@hatecomputers.club
domain: hatecomputers.club
mail_domain: mail.hatecomputers.club
ldap_server: "auth.hatecomputers.club"
ldap_server_host: "ldaps://{{ ldap_server }}:3636"
ldap_intranet: >
{{ lookup('community.general.dig',
'auth.int.infra.hatecomputers.club') }}
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)
(memberOf=cn=mail,dc=auth,dc=hatecomputers,dc=club))
dovecot_user_filter: >
(&(class=posixAccount)(uid=%u)
(memberOf=cn=mail,dc=auth,dc=hatecomputers,dc=club))
dovecot_auth_bind_userdn: "uid=%u,dc=auth,dc=hatecomputers,dc=club"
dovecot_user_attrs: "=mail=maildir:~/Maildir,uidNumber=uid,gidNumber=gid"
roundcube_default_host: "ssl://mail.hatecomputers.club"
roundcube_default_port: 993
roundcube_smtp_host: "ssl://mail.hatecomputers.club"
roundcube_smtp_port: 465
roundcube_plugins: "archive,zipdownload,managesieve,markasjunk"
roundcube_oauth2_auth_uri: "https://auth.hatecomputers.club/ui/oauth2"
roundcube_oauth2_user_uri: >
https://auth.hatecomputers.club/oauth2/openid/roundcube/userinfo
roundcube_oauth2_token_uri: "https://auth.hatecomputers.club/oauth2/token"