infrastructure-services/group_vars/all/all.yml: remove redundant variables.

This commit is contained in:
Andrea Dell'Amico 2015-10-10 09:03:24 +02:00
parent bea59fd78e
commit e090edee15
1 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@
{% endif %}
{% endif %}
{% if postfix_relay_server is defined and postfix_relay_server %}
{% if postfix_relay_server %}
#
# These are only needed on the machines that act as relay servers
#
@ -179,7 +179,7 @@
-A OUTPUT -p tcp -m multiport --dports 25,587,465 -m state --state NEW -j LOG --log-prefix "LOCAL_DROPPED_SPAM " --log-uid
-A OUTPUT -p tcp -m multiport --dports 25,587,465 -j DROP
{% endif %}
{% if postfix_relay_server is defined and not postfix_relay_server %}
{% if not postfix_relay_server %}
#
# When we are not a relay server but we want send email using our relay
-A OUTPUT -p tcp -m multiport --dports 25,587,465 -s 127.0.0.1 -d 127.0.0.1 -j ACCEPT