dnet-openaire/group_vars/parthenos_mapping_dev/mapping.yml: Do not setup the SMTP relay iptables rules

This commit is contained in:
Andrea Dell'Amico 2015-10-12 11:13:53 +02:00
parent e090edee15
commit 478dba36c0
1 changed files with 2 additions and 0 deletions

View File

@ -180,6 +180,7 @@
-A OUTPUT -p tcp -m multiport --dports 25,587,465 -j DROP
{% endif %}
{% if not postfix_relay_server %}
{% if postfix_relay_client %}
#
# 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
@ -187,6 +188,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 %}
{% endif %}
{% if iptables is defined %}
{% if iptables.tcp_rules is defined and iptables.tcp_rules %}