VirtualMailManager/constants/ERROR.py
author Pascal Volk <neverseen@users.sourceforge.net>
Sun, 02 Mar 2008 20:22:00 +0000
changeset 9 e3d3dbeb5b84
parent 8 7e3ce56f49e6
child 19 bf9a03c476fc
permissions -rw-r--r--
* 'create_tables.pgsql' - Added view vmm_domain_info * 'VirtualMailManager/Alias.py' - Removed attribute Alias._aid - Removed parameter basedir from Alias.__init__() and Alias._setAddr() * 'VirtualMailManager/MailLocation.py' - Fixed typo in MailLocation.__init__() * 'VirtualMailManager/Account.py' - Integrated Transport- and MailLocation-stuff - Removed attributes: Account._base and Account._home * 'VirtualMailManager/VirtualMailManager.py' - some small fixes * 'VirtualMailManager/Domain.py' - Added Transport-stuff * 'vmm.cfg' - 'Added option transport in section misc'

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