This commit is contained in:
Wolf-Bastian Pöttner
2017-04-29 07:09:35 +00:00
committed by GitHub
+3
View File
@@ -517,6 +517,9 @@ def get_required_aliases(env):
# The hostmaster alias is exposed in the DNS SOA for each zone.
aliases.add("hostmaster@" + env['PRIMARY_HOSTNAME'])
# Always add the fail2ban alias to make sure, that messages from fail2ban can be delivered properly
aliases.add("fail2ban@" + env['PRIMARY_HOSTNAME'])
# Get a list of domains we serve mail for, except ones for which the only
# email on that domain are the required aliases or a catch-all/domain-forwarder.
real_mail_domains = get_mail_domains(env,