1
0
forked from infra/ansible

Allow mail relay from trusted servers, enable ipv6.

This commit is contained in:
Markus 2016-04-13 08:59:45 +02:00
parent c8d0e43743
commit 96fb3a84dc
2 changed files with 3 additions and 2 deletions

View File

@ -20,6 +20,7 @@ mail_domains:
- ccc-regensburg.de - ccc-regensburg.de
mail_server: mail.binary-kitchen.de mail_server: mail.binary-kitchen.de
mailman_domain: lists.binary-kitchen.de mailman_domain: lists.binary-kitchen.de
mail_trusted: 213.166.246.0/28 2a02:958:0:f6::/124
mail_aliases: mail_aliases:
- "info@binary-kitchen.de vorstand@binary-kitchen.de" - "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" - "lebercast@binary-kitchen.de anti@binary-kitchen.de,dragonchaser@binary-kitchen.de,moepman@binary-kitchen.de,philmacfly@binary-kitchen.de,ralf@binary-kitchen.de"

View File

@ -12,7 +12,7 @@ append_dot_mydomain = no
readme_directory = no readme_directory = no
inet_interfaces = all inet_interfaces = all
inet_protocols = ipv4 inet_protocols = all
message_size_limit = 50000000 message_size_limit = 50000000
recipient_delimiter = + recipient_delimiter = +
@ -21,7 +21,7 @@ mydomain = {{ mail_domain }}
myhostname = {{ ansible_fqdn }} myhostname = {{ ansible_fqdn }}
myorigin = {{ ansible_fqdn }} myorigin = {{ ansible_fqdn }}
mydestination = localhost.{{ mail_domain }}, localhost mydestination = localhost.{{ mail_domain }}, localhost
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 {{ mail_trusted }}
alias_maps = hash:/etc/aliases alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases alias_database = hash:/etc/aliases