7. VirtualMailManager.constants.ERROR — Error codes

Error codes, used by all VirtualMailManager.errors.

VirtualMailManager.constants.ERROR.ACCOUNT_AND_ALIAS_PRESENT

Can’t delete the Domain - there are accounts and aliases assigned

VirtualMailManager.constants.ERROR.ACCOUNT_EXISTS

The Account exists already

VirtualMailManager.constants.ERROR.ACCOUNT_PRESENT

Can’t delete the Domain - there are accounts

VirtualMailManager.constants.ERROR.ALIASDOMAIN_EXISTS

Can’t save/switch the destination of the AliasDomain - old and new destination are the same.

VirtualMailManager.constants.ERROR.ALIASDOMAIN_ISDOMAIN

Can’t create AliasDomain - there is already a Domain with the given name

Todo

Move the related check to the Handler class

VirtualMailManager.constants.ERROR.ALIASDOMAIN_NO_DOMDEST

Can’t save/switch the destination of an AliasDomain if the destination was omitted

VirtualMailManager.constants.ERROR.ALIAS_ADDR_DEST_IDENTICAL

The alias address and its destination are the same

obsolete?

VirtualMailManager.constants.ERROR.ALIAS_EXCEEDS_EXPANSION_LIMIT

The Alias has reached or exceeds its expansion limit

VirtualMailManager.constants.ERROR.ALIAS_EXISTS

Alias with the given destination exists already

obsolete?

VirtualMailManager.constants.ERROR.ALIAS_MISSING_DEST

obsolete?

VirtualMailManager.constants.ERROR.ALIAS_PRESENT

Can’t delete Domain or Account - there are aliases assigned

VirtualMailManager.constants.ERROR.CONF_ERROR

Syntax error in the configuration file or missing settings w/o a default value

VirtualMailManager.constants.ERROR.CONF_NOFILE

The configuration file couldn’t be found

VirtualMailManager.constants.ERROR.CONF_NOPERM

The user’s permissions are insufficient

VirtualMailManager.constants.ERROR.CONF_WRONGPERM

Configuration file has the wrong access mode

VirtualMailManager.constants.ERROR.DATABASE_ERROR

A database error occurred

VirtualMailManager.constants.ERROR.DOMAINDIR_GROUP_MISMATCH

Domain directory is owned by the wrong group

VirtualMailManager.constants.ERROR.DOMAIN_ALIAS_EXISTS

Can’t create Domain - there is already an AliasDomain with the same name

Todo

Move the related check to the Handler class

VirtualMailManager.constants.ERROR.DOMAIN_EXISTS

The Domain is already available in the database

VirtualMailManager.constants.ERROR.DOMAIN_INVALID

The domain name is invalid

VirtualMailManager.constants.ERROR.DOMAIN_NO_NAME

Missing the domain name

VirtualMailManager.constants.ERROR.DOMAIN_TOO_LONG

The length of domain is > 255

VirtualMailManager.constants.ERROR.FOUND_DOTS_IN_PATH

Can’t delete directory with . or .. in path

Todo

check if we can solve this issue with expand_path()

VirtualMailManager.constants.ERROR.INVALID_ADDRESS

The specified value doesn’t look like a e-mail address

VirtualMailManager.constants.ERROR.INVALID_AGUMENT

The given argument is invalid

VirtualMailManager.constants.ERROR.INVALID_OPTION

The given option is invalid

VirtualMailManager.constants.ERROR.INVALID_SECTION

The section is not a known configuration section

VirtualMailManager.constants.ERROR.LOCALPART_INVALID

The local-part of an e-mail address was omitted or is invalid

VirtualMailManager.constants.ERROR.LOCALPART_TOO_LONG

The local-part (w/o a extension) is too long (> 64)

VirtualMailManager.constants.ERROR.MAILDIR_PERM_MISMATCH

The Maildir is owned by the wrong user/group

VirtualMailManager.constants.ERROR.MAILLOCATION_INIT

Can’t create a new MailLocation instance

obsolete?

VirtualMailManager.constants.ERROR.NOT_EXECUTABLE

The binary is not executable

VirtualMailManager.constants.ERROR.NO_SUCH_ACCOUNT

No Account with the given e-mail address

VirtualMailManager.constants.ERROR.NO_SUCH_ALIAS

No Alias with the given e-mail address

VirtualMailManager.constants.ERROR.NO_SUCH_ALIASDOMAIN

The given domain is not an AliasDomain

VirtualMailManager.constants.ERROR.NO_SUCH_BINARY

Can’t find the file at the specified location

VirtualMailManager.constants.ERROR.NO_SUCH_DIRECTORY

There is no directory with the given path

VirtualMailManager.constants.ERROR.NO_SUCH_DOMAIN

No Domain with the given name

VirtualMailManager.constants.ERROR.NO_SUCH_RELOCATED

There is no Relocated user with the given e-mail address

VirtualMailManager.constants.ERROR.RELOCATED_ADDR_DEST_IDENTICAL

The e-mail address of the Relocated user an its destination are the same

VirtualMailManager.constants.ERROR.RELOCATED_EXISTS

Can’t create Account or Alias, there is already a Relocated user with the given e-mail address

VirtualMailManager.constants.ERROR.RELOCATED_MISSING_DEST

obsolete?

VirtualMailManager.constants.ERROR.TRANSPORT_INIT

Can’t initialize a new Transport instance

obsolete?

VirtualMailManager.constants.ERROR.UNKNOWN_MAILLOCATION_ID

There is no MailLocation entry with the given ID

obsolete?

VirtualMailManager.constants.ERROR.UNKNOWN_SERVICE

The specified service is unknown

VirtualMailManager.constants.ERROR.UNKNOWN_TRANSPORT_ID

There is no Transport entry with the given ID

VirtualMailManager.constants.ERROR.UNKNOWN_MAILLOCATION_NAME

The given mail_location directory couldn’t be accepted

VirtualMailManager.constants.ERROR.VMM_ERROR

Internal error

VirtualMailManager.constants.ERROR.VMM_TOO_MANY_FAILURES

Too many errors in interactive mode