diff -r 89b71a9abfcf -r 6c85915f3815 VirtualMailManager/Account.py --- a/VirtualMailManager/Account.py Wed Sep 10 00:00:37 2008 +0000 +++ b/VirtualMailManager/Account.py Thu Sep 11 20:38:30 2008 +0000 @@ -36,10 +36,12 @@ self._passwd = password self._setAddr() self._exists() - if VMM.VirtualMailManager.aliasExists(self._dbh, self._addr): + if self._uid < 1 and VMM.VirtualMailManager.aliasExists(self._dbh, + self._addr): raise AccE(_(u"There is already an alias with the address »%s«.") %\ self._addr, ERR.ALIAS_EXISTS) - if VMM.VirtualMailManager.relocatedExists(self._dbh, self._addr): + if self._uid < 1 and VMM.VirtualMailManager.relocatedExists(self._dbh, + self._addr): raise AccE( _(u"There is already a relocated user with the address »%s«.") %\ self._addr, ERR.RELOCATED_EXISTS)