diff -r 89b71a9abfcf -r 6c85915f3815 VirtualMailManager/Alias.py --- a/VirtualMailManager/Alias.py Wed Sep 10 00:00:37 2008 +0000 +++ b/VirtualMailManager/Alias.py Thu Sep 11 20:38:30 2008 +0000 @@ -40,10 +40,12 @@ self._setAddr() if not self._dest is None: self._exists() - if VMM.VirtualMailManager.accountExists(self._dbh, self._addr): + if self._isNew and VMM.VirtualMailManager.accountExists(self._dbh, + self._addr): raise VMMAE(_(u"There is already an account with address »%s«.") %\ self._addr, ERR.ACCOUNT_EXISTS) - if VMM.VirtualMailManager.relocatedExists(self._dbh, self._addr): + if self._isNew and VMM.VirtualMailManager.relocatedExists(self._dbh, + self._addr): raise VMMAE( _(u"There is already a relocated user with the address »%s«.") %\ self._addr, ERR.RELOCATED_EXISTS)