VirtualMailManager/constants/ERROR.py
author Pascal Volk <neverseen@users.sourceforge.net>
Tue, 08 Jan 2008 21:35:40 +0000
changeset 2 9b39f828aa8a
parent 0 bb0aa2102206
child 8 7e3ce56f49e6
permissions -rw-r--r--
* 'VirtualMailManager/Exceptions.py' - VMMNotRootException.__init__() calls parent CTor * 'VirtualMailManager/VirtualMailManager.py' - activated check for missing sections/options * 'VirtualMailManager/constants/ERROR.py' - added CONF_* constants from EXIT.py - renumbered * 'VirtualMailManager/constants/EXIT.py' - moved CONF_* constants to ERROR.py * 'VirtualMailManager/Config.py' - implemented VMMConfig.check() - some code cleanups * 'vmm' - some code cleanups

#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# opyright 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_WRONGPERM = 27
CONF_NOPERM = 28
CONF_NOFILE = 29
CONF_ERROR = 30
DATABASE_ERROR = 31
DOMAINDIR_GROUP_MISMATCH = 32
DOMAIN_EXISTS = 33
DOMAIN_INVALID = 34
DOMAIN_TOO_LONG = 35
FOUND_DOTS_IN_PATH = 36
INVALID_ADDRESS = 37
INVALID_OPTION = 38
INVALID_SECTION = 39
LOCALPART_INVALID = 40
LOCALPART_TOO_LONG = 41
MAILDIR_PERM_MISMATCH = 42
NOT_EXECUTABLE = 43
NO_SUCH_ACCOUNT = 44
NO_SUCH_ALIAS = 45
NO_SUCH_BINARY = 46
NO_SUCH_DIRECTORY = 47
NO_SUCH_DOMAIN = 48