Files
@ 694893c0259a
Branch filter:
Location: majic-ansible-roles/roles/mail_forwarder/templates/ferm_mail.conf.j2 - annotation
694893c0259a
809 B
text/plain
MAR-218: Fix linting errors for unnamed plays:
- All plays should be named at this point.
- Improve naming of some plays.
- Group some of the common tasks together to speed-up the prepare
step.
- Minor refactoring to make the prepare playbooks more consistent
across the roles.
- All plays should be named at this point.
- Improve naming of some plays.
- Group some of the common tasks together to speed-up the prepare
step.
- Minor refactoring to make the prepare playbooks more consistent
across the roles.
d92577936630 441a70c073b9 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 441a70c073b9 441a70c073b9 441a70c073b9 7df70ebc439c 13fd27e4004c 13fd27e4004c 13fd27e4004c 441a70c073b9 7df70ebc439c 441a70c073b9 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 441a70c073b9 441a70c073b9 441a70c073b9 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 13fd27e4004c | {% if smtp_relay_host and smtp_from_relay_allowed %}
{% if smtp_relay_host_ipv4 %}
domain ip {
# Accept incoming connections on port 25 from SMTP relay host.
table filter {
chain INPUT {
# SMTP for server communication.
proto tcp dport 25 {
{% for address in smtp_relay_host_ipv4 %}
saddr {{ address }} ACCEPT;
{% endfor %}
}
}
}
}
{% endif %}
{% if smtp_relay_host_ipv6 %}
domain ip6 {
# Accept incoming connections on port 25 from SMTP relay host.
table filter {
chain INPUT {
# SMTP for server communication.
proto tcp dport 25 {
{% for address in smtp_relay_host_ipv6 %}
saddr {{ address }} ACCEPT;
{% endfor %}
}
}
}
}
{% endif %}
{% endif %}
|