forked from infra/ansible
Allow more virtual postfix domains and make aliases configurable.
This commit is contained in:
parent
65f1511913
commit
2f8d0729c0
@ -10,8 +10,19 @@ ldap_binddn: cn=Services,ou=roles,dc=binary-kitchen,dc=de
|
||||
ldap_bindpw: svcpwd
|
||||
|
||||
mail_domain: binary-kitchen.de
|
||||
mail_domains:
|
||||
- ccc-r.de
|
||||
- ccc-regensburg.de
|
||||
mail_server: mail.binary-kitchen.de
|
||||
mailman_domain: lists.binary-kitchen.de
|
||||
mail_aliases:
|
||||
- "info@binary-kitchen.de vorstand@binary-kitchen.de"
|
||||
- "lebercast@binary-kitchen.de anti@binary-kitchen.de,dragonchaser@binary-kitchen.de,moepman@binary-kitchen.de,philmacfly@binary-kitchen.de,ralf@binary-kitchen.de"
|
||||
- "mayday@binary-kitchen.de anti@binary-kitchen.de"
|
||||
- "sysadmin.mail@binary-kitchen.de moepman@binary-kitchen.de"
|
||||
- "vorstand@binary-kitchen.de anti@binary-kitchen.de,moepman@binary-kitchen.de,philmacfly@binary-kitchen.de"
|
||||
- "orga@ccc-r.de orga@ccc-regensburg.de"
|
||||
- "orga@ccc-regensburg.de anti@binary-kitchen.de"
|
||||
|
||||
nslcd_base_group: ou=groups,dc=binary-kitchen,dc=de
|
||||
nslcd_base_shadow: ou=people,dc=binary-kitchen,dc=de
|
||||
|
@ -74,9 +74,12 @@ content_filter = amavis:[127.0.0.1]:10024
|
||||
receive_override_options = no_address_mappings
|
||||
|
||||
virtual_mailbox_domains = {{ mail_domain }}
|
||||
{%- for domain in mail_domains %}
|
||||
{{ domain }}
|
||||
{%- endfor %}
|
||||
|
||||
virtual_mailbox_maps = ldap:/etc/postfix/ldap-virtual-maps.cf
|
||||
virtual_alias_maps = hash:/etc/postfix/virtual-alias, ldap:/etc/postfix/ldap-aliases.cf
|
||||
#virtual_alias_maps = hash:/var/lib/mailman/data/virtual-mailman, hash:/etc/postfix/virtual-alias, ldap:/etc/postfix/ldap-aliases.cf
|
||||
|
||||
virtual_transport = dovecot
|
||||
dovecot_destination_recipient_limit = 1
|
||||
|
@ -1 +1,4 @@
|
||||
amavis@{{ mail_domain }} root@{{ mail_domain }}
|
||||
amavis@{{ mail_domain }} sysadmin.mail@{{ mail_domain }}
|
||||
{% for alias in mail_aliases %}
|
||||
{{ alias }}
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user