|
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.Exceptions`. |
|
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 .. data:: ALIAS_EXCEEDS_EXPANSION_LIMIT |
|
47 |
|
48 The Alias has reached or exceeds its expansion limit |
|
49 |
|
50 .. data:: ALIAS_EXISTS |
|
51 |
|
52 Alias with the given destination exists already |
|
53 |
|
54 .. data:: ALIAS_MISSING_DEST |
|
55 |
|
56 obsolete? |
|
57 |
|
58 .. data:: ALIAS_PRESENT |
|
59 |
|
60 Can't delete Domain or Account - there are aliases assigned |
|
61 |
|
62 .. data:: CONF_ERROR |
|
63 |
|
64 Syntax error in the configuration file or missing settings w/o a default value |
|
65 |
|
66 .. data:: CONF_NOFILE |
|
67 |
|
68 The configuration file couldn't be found |
|
69 |
|
70 .. data:: CONF_NOPERM |
|
71 |
|
72 The user's permissions are insufficient |
|
73 |
|
74 .. data:: CONF_WRONGPERM |
|
75 |
|
76 Configuration file has the wrong access mode |
|
77 |
|
78 .. data:: DATABASE_ERROR |
|
79 |
|
80 A database error occurred |
|
81 |
|
82 .. data:: DOMAINDIR_GROUP_MISMATCH |
|
83 |
|
84 Domain directory is owned by the wrong group |
|
85 |
|
86 .. data:: DOMAIN_ALIAS_EXISTS |
|
87 |
|
88 Can't create Domain - there is already an AliasDomain with the same name |
|
89 |
|
90 .. todo:: Move the related check to the Handler class |
|
91 |
|
92 .. data:: DOMAIN_EXISTS |
|
93 |
|
94 The Domain is already available in the database |
|
95 |
|
96 .. data:: DOMAIN_INVALID |
|
97 |
|
98 The domain name is invalid |
|
99 |
|
100 .. data:: DOMAIN_NO_NAME |
|
101 |
|
102 Missing the domain name |
|
103 |
|
104 .. data:: DOMAIN_TOO_LONG |
|
105 |
|
106 The length of domain is > 255 |
|
107 |
|
108 .. data:: FOUND_DOTS_IN_PATH |
|
109 |
|
110 Can't delete directory with ``.`` or ``..`` in path |
|
111 |
|
112 .. todo:: check if we can solve this issue with expand_path() |
|
113 |
|
114 .. data:: INVALID_ADDRESS |
|
115 |
|
116 The specified value doesn't look like a e-mail address |
|
117 |
|
118 .. data:: INVALID_AGUMENT |
|
119 |
|
120 The given argument is invalid |
|
121 |
|
122 .. data:: INVALID_OPTION |
|
123 |
|
124 The given option is invalid |
|
125 |
|
126 .. data:: INVALID_SECTION |
|
127 |
|
128 The section is not a known configuration section |
|
129 |
|
130 .. data:: LOCALPART_INVALID |
|
131 |
|
132 The local-part of an e-mail address was omitted or is invalid |
|
133 |
|
134 .. data:: LOCALPART_TOO_LONG |
|
135 |
|
136 The local-part (w/o a extension) is too long (> 64) |
|
137 |
|
138 .. data:: MAILDIR_PERM_MISMATCH |
|
139 |
|
140 The Maildir is owned by the wrong user/group |
|
141 |
|
142 .. data:: MAILLOCATION_INIT |
|
143 |
|
144 Can't create a new MailLocation instance |
|
145 |
|
146 .. data:: NOT_EXECUTABLE |
|
147 |
|
148 The binary is not executable |
|
149 |
|
150 .. data:: NO_SUCH_ACCOUNT |
|
151 |
|
152 No Account with the given e-mail address |
|
153 |
|
154 .. data:: NO_SUCH_ALIAS |
|
155 |
|
156 No Alias with the given e-mail address |
|
157 |
|
158 .. data:: NO_SUCH_ALIASDOMAIN |
|
159 |
|
160 The given domain is not an AliasDomain |
|
161 |
|
162 .. data:: NO_SUCH_BINARY |
|
163 |
|
164 Can't find the file at the specified location |
|
165 |
|
166 .. data:: NO_SUCH_DIRECTORY |
|
167 |
|
168 There is no directory with the given path |
|
169 |
|
170 .. data:: NO_SUCH_DOMAIN |
|
171 |
|
172 No Domain with the given name |
|
173 |
|
174 .. data:: NO_SUCH_RELOCATED |
|
175 |
|
176 There is no Relocated user with the given e-mail address |
|
177 |
|
178 .. data:: RELOCATED_ADDR_DEST_IDENTICAL |
|
179 |
|
180 The e-mail address of the Relocated user an its destination are the same |
|
181 |
|
182 .. data:: RELOCATED_EXISTS |
|
183 |
|
184 Can't create Account or Alias, there is already a Relocated user with the |
|
185 given e-mail address |
|
186 |
|
187 .. data:: RELOCATED_MISSING_DEST |
|
188 |
|
189 obsolete? |
|
190 |
|
191 .. data:: TRANSPORT_INIT |
|
192 |
|
193 Can't initialize a new Transport instance |
|
194 |
|
195 .. data:: UNKNOWN_MAILLOCATION_ID |
|
196 |
|
197 There is no MailLocation entry with the given ID |
|
198 |
|
199 .. data:: UNKNOWN_SERVICE |
|
200 |
|
201 The specified service is unknown |
|
202 |
|
203 .. data:: UNKNOWN_TRANSPORT_ID |
|
204 |
|
205 There is no Transport entry with the given ID |
|
206 |
|
207 .. data:: VMM_ERROR |
|
208 |
|
209 Internal error |
|
210 |
|
211 .. data:: VMM_TOO_MANY_FAILURES |
|
212 |
|
213 Too many errors in interactive mode |