1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-22 02:17:26 +00:00

don't automatically create the administrator@ alias (e.g. on first user creation) because we dont know what it should be an alias to (leave this to be resolved manually), fixes #470

Was broken by 462a79cf47.
This commit is contained in:
Joshua Tauberer 2015-06-30 09:11:19 -04:00
parent e3252f53da
commit 42a506231b

View File

@ -544,6 +544,7 @@ def kick(env, mail_result=None):
# Doesn't exist.
administrator = get_system_administrator(env)
if source == administrator: return # don't make an alias from the administrator to itself --- this alias must be created manually
add_mail_alias(source, administrator, env, do_kick=False)
results.append("added alias %s (=> %s)\n" % (source, administrator))