Adjust mail to ldap changes.

This commit is contained in:
Markus 2016-03-26 10:46:46 +01:00
parent 5d3282d567
commit 38e33ab164
4 changed files with 10 additions and 5 deletions

View File

@ -7,5 +7,5 @@ bind_pw = {{ ldap_bindpw }}
version = 3
search_base = {{ ldap_base }}
query_filter = (&(objectClass=mailUser)(mailAlternateAddress=%s))
query_filter = (&(objectClass=kitchenUser)(mailAlternateAddress=%s))
result_attribute = mail

View File

@ -7,6 +7,6 @@ bind_pw = {{ ldap_bindpw }}
version = 3
search_base = {{ ldap_base }}
query_filter = (&(objectClass=mailUser)(mail=%s))
query_filter = (&(objectClass=kitchenUser)(mail=%s))
result_attribute = uid
result_format = %u/.maildir/

View File

@ -0,0 +1 @@
amavis@{{ mail_domain }} root@{{ mail_domain }}

View File

@ -6,8 +6,12 @@
- common
- ntp
- name: Setup test mail server
hosts: mail.binary-kitchen.com
- name: Setup ldap server
hosts: helium.binary-kitchen.net
roles:
- ldap-server
- name: Setup mail server
hosts: lithium.binary-kitchen.net
roles:
- certmgr
- mail