VirtualMailManager/constants/ERROR.py
author Pascal Volk <neverseen@users.sourceforge.net>
Tue, 19 Aug 2008 02:40:43 +0000
changeset 48 0d5f58f8b8f5
parent 45 9e66138aad0b
child 52 c152d7714802
permissions -rw-r--r--
* 'VirtualMailManager/Exceptions.py' - Rewrote class VMMException and all derived VMM*Exception classes. Affected files in VirtualMailManager/: + '../vmm' + 'Account.py' + 'Alias.py' + 'Config.py' + 'Domain.py' + 'MailLocation.py' + 'Transport.py' + 'VirtualMailManager.py' * 'VirtualMailManager/Config.py' - Some code cleanups/fixes in: + VMMConfig.load() + VMMConfig.configure() * 'VirtualMailManager/DomainAlias.py' - Added to repository * 'VirtualMailManager/VirtualMailManager.py' - Some code cleanups in: + VirtualMailManager.__chkCfgFile() + VirtualMailManager.__getFileMode() removed + VirtualMailManager.configure() * 'vmm' - Rewrote: + usage() + configure() + __main__ - Implemented show_version() * 'po/de.po' * 'po/vmm.pot' - updated

#!/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