# HG changeset patch # User Pascal Volk # Date 1221253028 0 # Node ID c1363b84a24bca2695e2cb53642cc37fc0d8397b # Parent cc195af37de0bc34091c80762ef06866afcd0c2e * 'VirtualMailManager/VirtualMailManager.py' - VirtualMailManager.aliasAdd() checks additional to changes from revision 95 whether the destination alias exists. diff -r cc195af37de0 -r c1363b84a24b VirtualMailManager/VirtualMailManager.py --- a/VirtualMailManager/VirtualMailManager.py Fri Sep 12 00:25:33 2008 +0000 +++ b/VirtualMailManager/VirtualMailManager.py Fri Sep 12 20:57:08 2008 +0000 @@ -607,10 +607,11 @@ alias.save() gid = self.__getDomain(alias._dest._domainname).getID() if gid > 0 and not VirtualMailManager.accountExists(self.__dbh, - alias._dest): + alias._dest) and not VirtualMailManager.aliasExists(self.__dbh, + alias._dest): self.__warnings.append( - _(u"The destination account »%s« doesn't exists yet.")%\ - alias._dest) + _(u"The destination account/alias »%s« doesn't exists yet.")%\ + alias._dest) def userDelete(self, emailaddress, force=None): if force not in [None, 'delalias']: