VirtualMailManager/constants/ERROR.py
author Pascal Volk <neverseen@users.sourceforge.net>
Wed, 06 Aug 2008 22:11:17 +0000
changeset 40 ab0748a5da9a
parent 20 55146c78b3fb
child 45 9e66138aad0b
permissions -rw-r--r--
* 'vmm' - _getOrder() Respects now vmm.cfg/maildir/diskusage settings * 'VirtualMailManager/VirtualMailManager.py' - Adds a warning if a directory not exists + VirtualMailManager.__getDiskUsage() + VirtualMailManager.__maildirdelete() + VirtualMailManager.__domdirdelete() - Implemented + VirtualMailManager.__isdir() + VirtualMailManager.cfgGetBoolean() + VirtualMailManager.cfgGetInt() + VirtualMailManager.cfgGetString() * '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_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