forked from infra/ansible
Adjust mail to ldap changes.
This commit is contained in:
parent
5d3282d567
commit
38e33ab164
@ -7,5 +7,5 @@ bind_pw = {{ ldap_bindpw }}
|
|||||||
version = 3
|
version = 3
|
||||||
|
|
||||||
search_base = {{ ldap_base }}
|
search_base = {{ ldap_base }}
|
||||||
query_filter = (&(objectClass=mailUser)(mailAlternateAddress=%s))
|
query_filter = (&(objectClass=kitchenUser)(mailAlternateAddress=%s))
|
||||||
result_attribute = mail
|
result_attribute = mail
|
||||||
|
@ -7,6 +7,6 @@ bind_pw = {{ ldap_bindpw }}
|
|||||||
version = 3
|
version = 3
|
||||||
|
|
||||||
search_base = {{ ldap_base }}
|
search_base = {{ ldap_base }}
|
||||||
query_filter = (&(objectClass=mailUser)(mail=%s))
|
query_filter = (&(objectClass=kitchenUser)(mail=%s))
|
||||||
result_attribute = uid
|
result_attribute = uid
|
||||||
result_format = %u/.maildir/
|
result_format = %u/.maildir/
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
amavis@{{ mail_domain }} root@{{ mail_domain }}
|
10
site.yml
10
site.yml
@ -6,8 +6,12 @@
|
|||||||
- common
|
- common
|
||||||
- ntp
|
- ntp
|
||||||
|
|
||||||
- name: Setup test mail server
|
- name: Setup ldap server
|
||||||
hosts: mail.binary-kitchen.com
|
hosts: helium.binary-kitchen.net
|
||||||
|
roles:
|
||||||
|
- ldap-server
|
||||||
|
|
||||||
|
- name: Setup mail server
|
||||||
|
hosts: lithium.binary-kitchen.net
|
||||||
roles:
|
roles:
|
||||||
- certmgr
|
|
||||||
- mail
|
- mail
|
||||||
|
Loading…
Reference in New Issue
Block a user