1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-12 17:07:23 +01:00

Add root@primary host alias

This commit is contained in:
github@kiekerjan.isdronken.nl
2021-04-28 09:23:27 +02:00
parent f60d0f4f1e
commit 1264fffb4b
3 changed files with 15 additions and 3 deletions

View File

@@ -524,6 +524,9 @@ def get_required_aliases(env):
# The hostmaster alias is exposed in the DNS SOA for each zone.
aliases.add("hostmaster@" + env['PRIMARY_HOSTNAME'])
# Setup root alias
aliases.add("root@" + 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.