* Removed gettext import and setup in VirtualMailManager/:
- 'Account.py'
- 'Alias.py'
- 'Config.py'
- 'Domain.py'
- 'MailLocation.py'
- 'Transport.py'
- 'VirtualMailManager.py'
* 'VirtualMailManager/VirtualMailManager.py'
- Renamed methods in class VirtualMailManager:
+ __chkLocalpart() -> chkLocalpart()
+ __chkDomainname() -> chkDomainname()
+ __chkEmailAddress() -> chkEmailAddress()
- VirtualMailManager.chkLocalpart() check also for len() < 1 *Oops*
- VirtualMailManager.user_delete() explains why the home directory
couldn't be deleted, if it wasn't deleted.
* 'VirtualMailManager/Account.py'
- Account.__init__() checks address with
VirtualMailManager.chkEmailAddress()
* 'VirtualMailManager/Exceptions.py'
- Added class VMMDomainAliasException
* 'vmm'
- Implemented: w_err(), w_std()
- Uses gettexts install()
- Converts all args from sys.argv to unicode - available via global argv
- Replaced many sys.argv by argv
* '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_ERROR = 27
CONF_NOFILE = 28
CONF_NOPERM = 29
CONF_WRONGPERM = 30
DATABASE_ERROR = 31
DOMAINDIR_GROUP_MISMATCH = 32
DOMAIN_ALIAS_EXISTS = 33
DOMAIN_EXISTS = 34
DOMAIN_INVALID = 35
DOMAIN_TOO_LONG = 36
FOUND_DOTS_IN_PATH = 37
INVALID_ADDRESS = 38
INVALID_AGUMENT = 39
INVALID_OPTION = 40
INVALID_SECTION = 41
LOCALPART_INVALID = 42
LOCALPART_TOO_LONG = 43
MAILDIR_PERM_MISMATCH = 44
MAILLOCATION_INIT = 45
NOT_EXECUTABLE = 46
NO_SUCH_ACCOUNT = 47
NO_SUCH_ALIAS = 48
NO_SUCH_BINARY = 49
NO_SUCH_DIRECTORY = 50
NO_SUCH_DOMAIN = 51
TRANSPORT_INIT = 52
UNKNOWN_MAILLOCATION_ID = 53
UNKNOWN_SERVICE = 54
UNKNOWN_TRANSPORT_ID = 55