Files
@ a5d38f30094b
Branch filter:
Location: majic-ansible-roles/roles/mail_forwarder/templates/ferm_mail.conf.j2 - annotation
a5d38f30094b
717 B
text/plain
MAR-132: Workarounds for wsgi_website Python virtual environment in Debian Stretch:
- Manually install setuptools in Python virtual environment on Debian
Stretch, otherwise the pkg-resources==0.0.0 package will mess with
pip freeze etc.
- Add back installation of futures package, even on Python 3 (since it
does not cause any harm).
- A small cleanup of how requirements are treated will be done in
separate ticket.
- Manually install setuptools in Python virtual environment on Debian
Stretch, otherwise the pkg-resources==0.0.0 package will mess with
pip freeze etc.
- Add back installation of futures package, even on Python 3 (since it
does not cause any harm).
- A small cleanup of how requirements are treated will be done in
separate ticket.
d92577936630 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 13fd27e4004c 13fd27e4004c 13fd27e4004c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 7df70ebc439c 13fd27e4004c | {% if smtp_relay_host and smtp_from_relay_allowed %}
domain ip {
# Accept incoming connections on port 25 from SMTP relay host.
table filter {
chain INPUT {
# SMTP for server communication.
proto tcp dport 25 {
saddr {{ smtp_relay_host }} ACCEPT;
}
}
}
}
{% if lookup('dig', smtp_relay_host + '/AAAA') not in ['NXDOMAIN', ''] %}
domain ip6 {
# Accept incoming connections on port 25 from SMTP relay host.
table filter {
chain INPUT {
# SMTP for server communication.
proto tcp dport 25 {
saddr {{ smtp_relay_host }} ACCEPT;
}
}
}
}
{% endif %}
{% endif %}
|