doc/api/source/vmm_constants_error.rst
changeset 760 b678a1c43027
parent 748 659c4476c57c
child 761 e4e656f19771
equal deleted inserted replaced
748:659c4476c57c 760:b678a1c43027
     1 :mod:`VirtualMailManager.constants.ERROR` --- Error codes
       
     2 =========================================================
       
     3 
       
     4 .. module:: VirtualMailManager.constants.ERROR
       
     5   :synopsis: VirtualMailManager's error codes
       
     6 
       
     7 .. moduleauthor:: Pascal Volk <neverseen@users.sourceforge.net>
       
     8 
       
     9 .. toctree::
       
    10    :maxdepth: 2
       
    11 
       
    12 Error codes, used by all :mod:`VirtualMailManager.errors`.
       
    13 
       
    14 .. data:: ACCOUNT_AND_ALIAS_PRESENT
       
    15 
       
    16   Can't delete the  Domain - there are accounts and aliases assigned
       
    17 
       
    18 .. data:: ACCOUNT_EXISTS
       
    19 
       
    20   The Account exists already
       
    21 
       
    22 .. data:: ACCOUNT_PRESENT
       
    23 
       
    24   Can't delete the Domain - there are accounts
       
    25 
       
    26 .. data:: ALIASDOMAIN_EXISTS
       
    27 
       
    28   Can't save/switch the destination of the AliasDomain - old and new destination
       
    29   are the same.
       
    30 
       
    31 .. data:: ALIASDOMAIN_ISDOMAIN
       
    32 
       
    33   Can't create AliasDomain - there is already a Domain with the given name
       
    34 
       
    35   .. todo:: Move the related check to the Handler class
       
    36 
       
    37 .. data:: ALIASDOMAIN_NO_DOMDEST
       
    38 
       
    39   Can't save/switch the destination of an AliasDomain if the destination was
       
    40   omitted 
       
    41 
       
    42 .. data:: ALIAS_ADDR_DEST_IDENTICAL
       
    43 
       
    44   The alias address and its destination are the same
       
    45 
       
    46   obsolete?
       
    47 
       
    48 .. data:: ALIAS_EXCEEDS_EXPANSION_LIMIT
       
    49 
       
    50   The Alias has reached or exceeds its expansion limit
       
    51 
       
    52 .. data:: ALIAS_EXISTS
       
    53 
       
    54   Alias with the given destination exists already
       
    55 
       
    56   obsolete?
       
    57 
       
    58 .. data:: ALIAS_MISSING_DEST
       
    59 
       
    60   obsolete?
       
    61 
       
    62 .. data:: ALIAS_PRESENT
       
    63 
       
    64   Can't delete Domain or Account - there are aliases assigned
       
    65 
       
    66 .. data:: CONF_ERROR
       
    67 
       
    68   Syntax error in the configuration file or missing settings w/o a default value
       
    69 
       
    70 .. data:: CONF_NOFILE
       
    71 
       
    72   The configuration file couldn't be found
       
    73 
       
    74 .. data:: CONF_NOPERM
       
    75 
       
    76   The user's permissions are insufficient
       
    77 
       
    78 .. data:: CONF_WRONGPERM
       
    79 
       
    80   Configuration file has the wrong access mode
       
    81 
       
    82 .. data:: DATABASE_ERROR
       
    83 
       
    84   A database error occurred
       
    85 
       
    86 .. data:: DOMAINDIR_GROUP_MISMATCH
       
    87 
       
    88   Domain directory is owned by the wrong group
       
    89 
       
    90 .. data:: DOMAIN_ALIAS_EXISTS
       
    91 
       
    92   Can't create Domain - there is already an AliasDomain with the same name
       
    93 
       
    94   .. todo:: Move the related check to the Handler class
       
    95 
       
    96 .. data:: DOMAIN_EXISTS
       
    97 
       
    98   The Domain is already available in the database
       
    99 
       
   100 .. data:: DOMAIN_INVALID
       
   101 
       
   102   The domain name is invalid
       
   103 
       
   104 .. data:: DOMAIN_NO_NAME
       
   105 
       
   106   Missing the domain name
       
   107 
       
   108 .. data:: DOMAIN_TOO_LONG
       
   109 
       
   110   The length of domain is > 255
       
   111 
       
   112 .. data:: FOUND_DOTS_IN_PATH
       
   113 
       
   114   Can't delete directory with ``.`` or ``..`` in path
       
   115 
       
   116   .. todo:: check if we can solve this issue with expand_path()
       
   117 
       
   118 .. data:: INVALID_ADDRESS
       
   119 
       
   120   The specified value doesn't look like a e-mail address
       
   121 
       
   122 .. data:: INVALID_AGUMENT
       
   123 
       
   124   The given argument is invalid
       
   125 
       
   126 .. data:: INVALID_OPTION
       
   127 
       
   128   The given option is invalid
       
   129 
       
   130 .. data:: INVALID_SECTION
       
   131 
       
   132   The section is not a known configuration section
       
   133 
       
   134 .. data:: LOCALPART_INVALID
       
   135 
       
   136   The local-part of an e-mail address was omitted or is invalid
       
   137 
       
   138 .. data:: LOCALPART_TOO_LONG
       
   139 
       
   140   The local-part (w/o a extension) is too long (> 64)
       
   141 
       
   142 .. data:: MAILDIR_PERM_MISMATCH
       
   143 
       
   144   The Maildir is owned by the wrong user/group
       
   145 
       
   146 .. data:: MAILLOCATION_INIT
       
   147 
       
   148   Can't create a new MailLocation instance
       
   149 
       
   150   obsolete?
       
   151 
       
   152 .. data:: NOT_EXECUTABLE
       
   153 
       
   154   The binary is not executable
       
   155 
       
   156 .. data:: NO_SUCH_ACCOUNT
       
   157 
       
   158   No Account with the given e-mail address
       
   159 
       
   160 .. data:: NO_SUCH_ALIAS
       
   161 
       
   162   No Alias with the given e-mail address
       
   163 
       
   164 .. data:: NO_SUCH_ALIASDOMAIN
       
   165 
       
   166   The given domain is not an AliasDomain
       
   167 
       
   168 .. data:: NO_SUCH_BINARY
       
   169 
       
   170   Can't find the file at the specified location
       
   171 
       
   172 .. data:: NO_SUCH_DIRECTORY
       
   173 
       
   174   There is no directory with the given path
       
   175 
       
   176 .. data:: NO_SUCH_DOMAIN
       
   177 
       
   178   No Domain with the given name
       
   179 
       
   180 .. data:: NO_SUCH_RELOCATED
       
   181 
       
   182   There is no Relocated user with the given e-mail address
       
   183 
       
   184 .. data:: RELOCATED_ADDR_DEST_IDENTICAL
       
   185 
       
   186   The e-mail address of the Relocated user an its destination are the same
       
   187 
       
   188 .. data:: RELOCATED_EXISTS
       
   189 
       
   190   Can't create Account or Alias, there is already a Relocated user with the
       
   191   given e-mail address
       
   192 
       
   193 .. data:: RELOCATED_MISSING_DEST
       
   194 
       
   195   obsolete?
       
   196 
       
   197 .. data:: TRANSPORT_INIT
       
   198 
       
   199   Can't initialize a new Transport instance
       
   200 
       
   201   obsolete?
       
   202 
       
   203 .. data:: UNKNOWN_MAILLOCATION_ID
       
   204 
       
   205   There is no MailLocation entry with the given ID
       
   206 
       
   207   obsolete?
       
   208 
       
   209 .. data:: UNKNOWN_SERVICE
       
   210 
       
   211   The specified service is unknown
       
   212 
       
   213 .. data:: UNKNOWN_TRANSPORT_ID
       
   214 
       
   215   There is no Transport entry with the given ID
       
   216 
       
   217 .. data:: UNKNOWN_MAILLOCATION_NAME
       
   218 
       
   219   The given mail_location directory couldn't be accepted
       
   220 
       
   221 .. data:: VMM_ERROR
       
   222 
       
   223   Internal error
       
   224 
       
   225 .. data:: VMM_TOO_MANY_FAILURES
       
   226 
       
   227   Too many errors in interactive mode