diff -r 89b71a9abfcf -r 6c85915f3815 VirtualMailManager/Relocated.py --- a/VirtualMailManager/Relocated.py Wed Sep 10 00:00:37 2008 +0000 +++ b/VirtualMailManager/Relocated.py Thu Sep 11 20:38:30 2008 +0000 @@ -39,10 +39,12 @@ self._isNew = False self._setAddr() self._exists() - if VMM.VirtualMailManager.accountExists(self._dbh, self._addr): + if self._isNew and VMM.VirtualMailManager.accountExists(self._dbh, + self._addr): raise VMMRE(_(u"There is already an account with address »%s«.") %\ self._addr, ERR.ACCOUNT_EXISTS) - if VMM.VirtualMailManager.aliasExists(self._dbh, self._addr): + if self._isNew and VMM.VirtualMailManager.aliasExists(self._dbh, + self._addr): raise VMMRE( _(u"There is already an alias with the address »%s«.") %\ self._addr, ERR.ALIAS_EXISTS)