summaryrefslogtreecommitdiff
path: root/group_vars/mail.yml
blob: 0a964e27232fd9d712b548005e51d7d5b7a141c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---

relay_host: email-smtp.us-west-2.amazonaws.com
relay_port: 2465
relay_user: "{{ ses_smtp_user_name }}"
relay_password: "{{ ses_smtp_password }}"
default_relay_host: "[{{ relay_host }}]:{{ relay_port }}"

mail_domain: "mail.{{ domain }}"
mail_base: "{{ swarm_base }}/mail"

postmaster_email: "postmaster@{{ domain }}"

ldap_server: "{{ idm_domain }}"
ldap_server_host: "ldaps://{{ ldap_server }}:3636"
ldap_search_base: "{{ 'dc=' ~ idm_domain | regex_replace('\\.', ',dc=') }}"
ldap_bind_dn: "dn=token"

ldap_memberof_query: "(memberof=mail)"
ldap_query_filter_user: "(&(class=account)(emailprimary=%s){{ ldap_memberof_query }})"
ldap_query_filter_group: "(&(class=group)(mail=%s){{ ldap_memberof_query }})"
ldap_query_filter_alias: "(&(class=account)(emailalternative=%s)(memberof=mail){{ ldap_memberof_query }})"
ldap_query_filter_domain: "(mail=*@%s)"
ldap_query_filter_senders: "(&(class=account)(|(emailprimary=%s)(emailalternative=%s)){{ ldap_memberof_query }})"

dovecot_user_filter: >
  (&(class=account)(name=%u){{ ldap_memberof_query }})

dovecot_auth_bind_userdn: "name=%u,{{ ldap_search_base }}"

roundcube_default_host: "ssl://{{ mail_domain }}"
roundcube_default_port: 993
roundcube_smtp_host: "ssl://{{ mail_domain }}"
roundcube_smtp_port: 465
roundcube_plugins: "archive,zipdownload,managesieve,markasjunk,enigma"
roundcube_composer_plugins: ""

roundcube_oauth2_auth_uri: "https://{{ idm_domain }}/ui/oauth2"
roundcube_oauth2_user_uri: "https://{{ idm_domain }}/oauth2/openid/roundcube/userinfo"
roundcube_oauth2_token_uri: "https://{{ idm_domain }}/oauth2/token"
roundcube_oauth2_client_id: "roundcube"