forked from infra/ansible
Prepare mailman configuration.
This commit is contained in:
parent
ecf3b91abd
commit
bc22efc8f9
@ -7,6 +7,7 @@ ldap_binddn: cn=Services,ou=Roles,dc=binary-kitchen,dc=de
|
||||
ldap_bindpw: svcpwd
|
||||
|
||||
mail_domain: binary-kitchen.com
|
||||
mailman_domain: lists.binary-kitchen.com
|
||||
|
||||
nslcd_base_group: ou=Groups,dc=binary-kitchen,dc=de
|
||||
nslcd_base_shadow: ou=Users,dc=binary-kitchen,dc=de
|
||||
|
@ -19,4 +19,5 @@
|
||||
- postfix/ldap-aliases.cf
|
||||
- postfix/ldap-virtual-maps.cf
|
||||
- postfix/recipient_access
|
||||
- postfix/transport
|
||||
- postfix/virtual-alias
|
||||
|
@ -77,6 +77,7 @@
|
||||
- postfix/ldap-aliases.cf
|
||||
- postfix/ldap-virtual-maps.cf
|
||||
- postfix/recipient_access
|
||||
- postfix/transport
|
||||
- postfix/virtual-alias
|
||||
notify: Run postmap
|
||||
tags: mail
|
||||
|
@ -81,3 +81,8 @@ virtual_alias_maps = hash:/etc/postfix/virtual-alias, ldap:/etc/postfix/ldap-ali
|
||||
virtual_transport = dovecot
|
||||
dovecot_destination_recipient_limit = 1
|
||||
|
||||
# mailman
|
||||
relay_domains = {{ mailman_domain }}
|
||||
relay_recipient_maps = hash:/var/lib/mailman/data/virtual-mailman
|
||||
transport_maps = hash:/etc/postfix/transport
|
||||
mailman_destination_recipient_limit = 1
|
||||
|
1
roles/mail/templates/postfix/transport.j2
Normal file
1
roles/mail/templates/postfix/transport.j2
Normal file
@ -0,0 +1 @@
|
||||
{{ mailman_domain }} mailman:
|
Loading…
Reference in New Issue
Block a user