mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-22 02:17:26 +00:00
automatic administrator aliases are probably not bidirectional because the administrator@ address is an alias and not a user
This commit is contained in:
parent
73fbcd7fa3
commit
cfc4e6b48b
@ -575,7 +575,7 @@ def kick(env, mail_result=None):
|
|||||||
administrator = get_system_administrator(env)
|
administrator = get_system_administrator(env)
|
||||||
if address == administrator: return # don't make an alias from the administrator to itself --- this alias must be created manually
|
if address == administrator: return # don't make an alias from the administrator to itself --- this alias must be created manually
|
||||||
add_mail_alias(address, administrator, "", env, do_kick=False)
|
add_mail_alias(address, administrator, "", env, do_kick=False)
|
||||||
results.append("added alias %s (<==> %s)\n" % (address, administrator))
|
results.append("added alias %s (=> %s)\n" % (address, administrator))
|
||||||
|
|
||||||
for address in required_aliases:
|
for address in required_aliases:
|
||||||
ensure_admin_alias_exists(address)
|
ensure_admin_alias_exists(address)
|
||||||
|
Loading…
Reference in New Issue
Block a user