VirtualMailManager/constants/ERROR.py
author Pascal Volk <neverseen@users.sourceforge.net>
Fri, 15 Aug 2008 21:00:26 +0000
changeset 44 c9ab6900ede9
parent 20 55146c78b3fb
child 45 9e66138aad0b
permissions -rw-r--r--
* 'VirtualMailManager/VirtualMailManager.py' - VirtualMailManager.domain_info() returns also alias domains if parameter »detailed« is given. * 'VirtualMailManager/Domain.py' - Fixed order in Domain.delete() - Added alias domains to Domain.getInfo() - Fixed queries in Domain.getAccounts() and Domain.getAliases() - Implemented Domain.getAliaseNames() - Rewrote search(), so that alias domains are shown below, indented, the »main« domain. * 'vmm' - Added 'aliasdomains' to _getOrder()/domaininfo - Renamed _printUsers() to _printList() - Implemented _formatDom() - Rewrote _printDomList()

#!/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_AGUMENT = 38
INVALID_OPTION = 39
INVALID_SECTION = 40
LOCALPART_INVALID = 41
LOCALPART_TOO_LONG = 42
MAILDIR_PERM_MISMATCH = 43
MAILLOCATION_INIT = 44
NOT_EXECUTABLE = 45
NO_SUCH_ACCOUNT = 46
NO_SUCH_ALIAS = 47
NO_SUCH_BINARY = 48
NO_SUCH_DIRECTORY = 49
NO_SUCH_DOMAIN = 50
TRANSPORT_INIT = 51
UNKNOWN_MAILLOCATION_ID = 52
UNKNOWN_SERVICE = 53
UNKNOWN_TRANSPORT_ID = 54