summaryrefslogtreecommitdiffstats
path: root/lib/et/test_cases/imap_err.et
blob: bfae243fe67d28fac8e3c3d7f5b52e548155738b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
# imap_err.et -- Error codes for Cyrus IMAP server programs
#
# Copyright (c) 1994-2008 Carnegie Mellon University.  All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in
#    the documentation and/or other materials provided with the
#    distribution.
#
# 3. The name "Carnegie Mellon University" must not be used to
#    endorse or promote products derived from this software without
#    prior written permission. For permission or any legal
#    details, please contact
#      Carnegie Mellon University
#      Center for Technology Transfer and Enterprise Creation
#      4615 Forbes Avenue
#      Suite 302
#      Pittsburgh, PA  15213
#      (412) 268-7393, fax: (412) 268-7395
#      innovation@andrew.cmu.edu
#
# 4. Redistributions of any form whatsoever must retain the following
#    acknowledgment:
#    "This product includes software developed by Computing Services
#     at Carnegie Mellon University (http://www.cmu.edu/computing/)."
#
# CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO
# THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
# AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE
# FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
# AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
# OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

error_table imap

ec IMAP_INTERNAL,
   "Internal Error"

ec IMAP_IOERROR,
   "System I/O error"

ec IMAP_NOTFOUND,
   "Item does not exist"

ec IMAP_SYS_ERROR,
   "Operating System Error"

ec IMAP_NOSPACE,
   "mail system storage has been exceeded"

ec IMAP_PERMISSION_DENIED,
   "Permission denied"

ec IMAP_QUOTA_EXCEEDED,
   "Over quota"

ec IMAP_MESSAGE_TOO_LARGE,
   "Message size exceeds fixed limit"

ec IMAP_USERFLAG_EXHAUSTED,
   "Too many user flags in mailbox"

ec IMAP_NAMESPACE_BADPREFIX,
   "Invalid namespace prefix in configuration file"

ec IMAP_MAILBOX_BADFORMAT,
   "Mailbox has an invalid format"

ec IMAP_SYNC_CHECKSUM,
   "Replication inconsistency detected"

ec IMAP_MAILBOX_CHECKSUM,
   "Mailbox format corruption detected"

ec IMAP_MAILBOX_NOTSUPPORTED,
   "Operation is not supported on mailbox"

ec IMAP_MAILBOX_NONEXISTENT,
   "Mailbox does not exist"

ec IMAP_MAILBOX_EXISTS,
   "Mailbox already exists"

ec IMAP_MAILBOX_BADNAME,
   "Invalid mailbox name"

ec IMAP_MAILBOX_BADTYPE,
   "Invalid mailbox type"

ec IMAP_MAILBOX_MOVED,
   "Mailbox has been moved to another server"

ec IMAP_MAILBOX_RESERVED,
   "Mailbox is currently reserved"

ec IMAP_MAILBOX_LOCKED,
   "Mailbox is locked"

ec IMAP_MAILBOX_DISABLED,
   "Delivery to mailbox is disabled"

ec IMAP_PARTITION_UNKNOWN,
   "Unknown/invalid partition"

ec IMAP_INVALID_IDENTIFIER,
   "Invalid identifier"

ec IMAP_MESSAGE_CONTAINSNULL,
   "Message contains NUL characters"

ec IMAP_MESSAGE_CONTAINSNL,
   "Message contains bare newlines"

ec IMAP_MESSAGE_CONTAINS8BIT,
   "Message contains non-ASCII characters in headers"

ec IMAP_MESSAGE_BADHEADER,
   "Message contains invalid header"

ec IMAP_MESSAGE_NOBLANKLINE,
   "Message has no header/body separator"

ec IMAP_QUOTAROOT_NONEXISTENT,
   "Quota root does not exist"

ec IMAP_PROTOCOL_ERROR,
   "Bad protocol"

ec IMAP_PROTOCOL_BAD_PARAMETERS,
   "Syntax error in parameters"

ec IMAP_ANNOTATION_BADENTRY,
   "Invalid annotation entry"

ec IMAP_ANNOTATION_BADATTRIB,
   "Invalid annotation attribute"

ec IMAP_ANNOTATION_BADVALUE,
   "Invalid annotation value"

ec IMAP_BADURL,
   "Bad URL"

ec IMAP_ZERO_LENGTH_LITERAL,
   "Zero-length message literal"

# following used only proxy/db operations
ec IMAP_BAD_SERVER,
   "Invalid server requested"

ec IMAP_SERVER_UNAVAILABLE,
   "Server(s) unavailable to complete operation"

ec IMAP_REMOTE_DENIED,
   "The remote Server(s) denied the operation"

ec IMAP_AGAIN,
   "Retry operation"

ec IMAP_NOT_SINGULAR_ROOT,
   "This mailbox hierarchy does not exist on a single backend server."

ec IMAP_REMOTE_NO_MULTIAPPEND,
   "The remote server does not support MULTIAPPEND"

# Following only used for internationalization of error messages

ec IMAP_UNRECOGNIZED_CHARSET,
   "Unrecognized character set"

ec IMAP_INVALID_USER,
   "Invalid user"

ec IMAP_INVALID_LOGIN,
   "Login incorrect"

ec IMAP_ANONYMOUS_NOT_PERMITTED,
   "Anonymous login is not permitted"

ec IMAP_UNSUPPORTED_QUOTA,
   "Unsupported quota resource"

# Following used only for SASL operations

ec IMAP_SASL_FAIL,
   "Authentication failed"

ec IMAP_SASL_CANCEL,
   "Client cancelled authentication"

ec IMAP_SASL_PROTERR,
   "Protocol error during authentication"

# Following used for internationalization of untagged OK/NO responses

ec IMAP_NO_OVERQUOTA,
   "Mailbox is over %s quota"

ec IMAP_NO_CLOSEQUOTA,
   "Mailbox is at %d%% of %s quota"

ec IMAP_NO_MSGGONE,
   "Message %d no longer exists"

ec IMAP_NO_CHECKSEEN,
   "Unable to checkpoint \\Seen state"

ec IMAP_NO_CHECKPRESERVE,
   "Unable to preserve \\Seen state"

ec IMAP_NO_NOSUCHMSG,
   "No matching messages"

ec IMAP_NO_NOSUCHANNOTATION,
   "No matching annotations"

ec IMAP_NO_UNKNOWN_CTE,
   "[UNKNOWN-CTE] Can not process the binary data"

# Following used for internationalization of untagged BYE response

ec IMAP_BYE_LOGOUT,
   "LOGOUT received"

# Following used for internationalization of tagged OK response

ec IMAP_OK_COMPLETED,
   "Completed"

end