VirtualMailManager/constants/ERROR.py
author Pascal Volk <neverseen@users.sourceforge.net>
Sat, 16 Aug 2008 02:19:32 +0000
changeset 45 9e66138aad0b
parent 20 55146c78b3fb
child 52 c152d7714802
permissions -rw-r--r--
* 'VirtualMailManager/VirtualMailManager.py' - Implemented: + VirtualMailManager.domain_alias_add() + VirtualMailManager.domain_alias_delete() * 'VirtualMailManager/Domain.py' - Implemented: + Domain._aliasExists() + Domain.saveAlias() + deleteAlias() - Fixed Domain._exists(); returns only True when the domain exists AND it's the primary domain - Fixed table order in Domain.delete() * 'vmm' - _printList() added ace2idna support for alias domains - Implemented: + domain_alias_add() + domain_alias_delete()

#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# Copyright 2007-2008 VEB IT
# See COPYING for distribution information.
# $Id$

ACCOUNT_AND_ALIAS_PRESENT = 20
ACCOUNT_EXISTS = 21
ACCOUNT_PRESENT = 22
ALIAS_ADDR_DEST_IDENTICAL = 23
ALIAS_EXISTS = 24
ALIAS_MISSING_DEST = 25
ALIAS_PRESENT = 26
CONF_ERROR = 27
CONF_NOFILE = 28
CONF_NOPERM = 29
CONF_WRONGPERM = 30
DATABASE_ERROR = 31
DOMAINDIR_GROUP_MISMATCH = 32
DOMAIN_ALIAS_EXISTS = 33
DOMAIN_EXISTS = 34
DOMAIN_INVALID = 35
DOMAIN_TOO_LONG = 36
FOUND_DOTS_IN_PATH = 37
INVALID_ADDRESS = 38
INVALID_AGUMENT = 39
INVALID_OPTION = 40
INVALID_SECTION = 41
LOCALPART_INVALID = 42
LOCALPART_TOO_LONG = 43
MAILDIR_PERM_MISMATCH = 44
MAILLOCATION_INIT = 45
NOT_EXECUTABLE = 46
NO_SUCH_ACCOUNT = 47
NO_SUCH_ALIAS = 48
NO_SUCH_BINARY = 49
NO_SUCH_DIRECTORY = 50
NO_SUCH_DOMAIN = 51
TRANSPORT_INIT = 52
UNKNOWN_MAILLOCATION_ID = 53
UNKNOWN_SERVICE = 54
UNKNOWN_TRANSPORT_ID = 55