VirtualMailManager/constants/ERROR.py
author Pascal Volk <neverseen@users.sourceforge.net>
Sat, 02 Feb 2008 19:48:17 +0000
changeset 8 7e3ce56f49e6
parent 2 9b39f828aa8a
child 19 bf9a03c476fc
permissions -rw-r--r--
* 'create_tables.pgsql' - Renamed table maildir to maillocation - Added transport id (tid) to table domains, for default transport * 'VirtualMailManager/MailLocation.py' * 'VirtualMailManager/Transport.py' - Added to repository * 'VirtualMailManager/constants/ERROR.py' - Added error codes for MailLocation and Transport classes * 'VirtualMailManager/Exceptions.py' - Added exception classes for MailLocation and Transport

#!/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_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
MAILLOCATION_INIT = 43
NOT_EXECUTABLE = 44
NO_SUCH_ACCOUNT = 45
NO_SUCH_ALIAS = 46
NO_SUCH_BINARY = 47
NO_SUCH_DIRECTORY = 48
NO_SUCH_DOMAIN = 49
TRANSPORT_INIT = 50
UNKNOWN_MAILLOCATION_ID = 51
UNKNOWN_TRANSPORT_ID = 52