VirtualMailManager/constants.py
branchv0.6.x
changeset 452 63ae77f05088
parent 366 d6573da35b5f
child 478 6278a7a2a476
equal deleted inserted replaced
451:2408a3cd4bea 452:63ae77f05088
    40 # error codes
    40 # error codes
    41 
    41 
    42 ACCOUNT_AND_ALIAS_PRESENT = 20
    42 ACCOUNT_AND_ALIAS_PRESENT = 20
    43 ACCOUNT_EXISTS = 21
    43 ACCOUNT_EXISTS = 21
    44 ACCOUNT_MISSING_PASSWORD = 69
    44 ACCOUNT_MISSING_PASSWORD = 69
    45 ACCOUNT_PRESENT = 22
       
    46 ALIASDOMAIN_EXISTS = 23
    45 ALIASDOMAIN_EXISTS = 23
    47 ALIASDOMAIN_ISDOMAIN = 24
    46 ALIASDOMAIN_ISDOMAIN = 24
    48 ALIASDOMAIN_NO_DOMDEST = 25
    47 ALIASDOMAIN_NO_DOMDEST = 25
    49 ALIAS_ADDR_DEST_IDENTICAL = 26
       
    50 ALIAS_EXCEEDS_EXPANSION_LIMIT = 27
    48 ALIAS_EXCEEDS_EXPANSION_LIMIT = 27
    51 ALIAS_EXISTS = 28
    49 ALIAS_EXISTS = 28
    52 ALIAS_MISSING_DEST = 29
       
    53 ALIAS_PRESENT = 30
    50 ALIAS_PRESENT = 30
    54 CONF_ERROR = 31
    51 CONF_ERROR = 31
    55 CONF_NOFILE = 32
    52 CONF_NOFILE = 32
    56 CONF_NOPERM = 33
    53 CONF_NOPERM = 33
    57 CONF_WRONGPERM = 34
    54 CONF_WRONGPERM = 34
    64 DOMAIN_TOO_LONG = 41
    61 DOMAIN_TOO_LONG = 41
    65 FOUND_DOTS_IN_PATH = 42
    62 FOUND_DOTS_IN_PATH = 42
    66 INVALID_ADDRESS = 43
    63 INVALID_ADDRESS = 43
    67 INVALID_ARGUMENT = 44
    64 INVALID_ARGUMENT = 44
    68 INVALID_MAIL_LOCATION = 70
    65 INVALID_MAIL_LOCATION = 70
    69 INVALID_OPTION = 45
       
    70 INVALID_SECTION = 46
    66 INVALID_SECTION = 46
    71 LOCALPART_INVALID = 47
    67 LOCALPART_INVALID = 47
    72 LOCALPART_TOO_LONG = 48
    68 LOCALPART_TOO_LONG = 48
    73 MAILDIR_PERM_MISMATCH = 49
    69 MAILDIR_PERM_MISMATCH = 49
    74 MAILLOCATION_INIT = 50
    70 MAILLOCATION_INIT = 50
    80 NO_SUCH_DIRECTORY = 56
    76 NO_SUCH_DIRECTORY = 56
    81 NO_SUCH_DOMAIN = 57
    77 NO_SUCH_DOMAIN = 57
    82 NO_SUCH_RELOCATED = 58
    78 NO_SUCH_RELOCATED = 58
    83 RELOCATED_ADDR_DEST_IDENTICAL = 59
    79 RELOCATED_ADDR_DEST_IDENTICAL = 59
    84 RELOCATED_EXISTS = 60
    80 RELOCATED_EXISTS = 60
    85 RELOCATED_MISSING_DEST = 61
       
    86 TRANSPORT_INIT = 62
       
    87 UNKNOWN_MAILLOCATION_ID = 63
       
    88 UNKNOWN_MAILLOCATION_NAME = 64
       
    89 UNKNOWN_SERVICE = 65
    81 UNKNOWN_SERVICE = 65
    90 UNKNOWN_TRANSPORT_ID = 66
       
    91 VMM_ERROR = 67
    82 VMM_ERROR = 67
    92 VMM_TOO_MANY_FAILURES = 68
    83 VMM_TOO_MANY_FAILURES = 68