forked from ISTI-ansible-roles/ansible-roles
dnet-openaire/group_vars/parthenos_mapping_dev/mapping.yml: Do not setup the SMTP relay iptables rules
This commit is contained in:
parent
e090edee15
commit
478dba36c0
|
@ -180,6 +180,7 @@
|
||||||
-A OUTPUT -p tcp -m multiport --dports 25,587,465 -j DROP
|
-A OUTPUT -p tcp -m multiport --dports 25,587,465 -j DROP
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if not postfix_relay_server %}
|
{% if not postfix_relay_server %}
|
||||||
|
{% if postfix_relay_client %}
|
||||||
#
|
#
|
||||||
# When we are not a relay server but we want send email using our relay
|
# 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
|
-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 -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
|
-A OUTPUT -p tcp -m multiport --dports 25,587,465 -j DROP
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if iptables is defined %}
|
{% if iptables is defined %}
|
||||||
{% if iptables.tcp_rules is defined and iptables.tcp_rules %}
|
{% if iptables.tcp_rules is defined and iptables.tcp_rules %}
|
||||||
|
|
Loading…
Reference in New Issue