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
1 changed files with 1 additions and 0 deletions

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))