• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# imap_err.et -- Error codes for Cyrus IMAP server programs
2#
3# Copyright (c) 1994-2008 Carnegie Mellon University.  All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions
7# are met:
8#
9# 1. Redistributions of source code must retain the above copyright
10#    notice, this list of conditions and the following disclaimer.
11#
12# 2. Redistributions in binary form must reproduce the above copyright
13#    notice, this list of conditions and the following disclaimer in
14#    the documentation and/or other materials provided with the
15#    distribution.
16#
17# 3. The name "Carnegie Mellon University" must not be used to
18#    endorse or promote products derived from this software without
19#    prior written permission. For permission or any legal
20#    details, please contact
21#      Carnegie Mellon University
22#      Center for Technology Transfer and Enterprise Creation
23#      4615 Forbes Avenue
24#      Suite 302
25#      Pittsburgh, PA  15213
26#      (412) 268-7393, fax: (412) 268-7395
27#      innovation@andrew.cmu.edu
28#
29# 4. Redistributions of any form whatsoever must retain the following
30#    acknowledgment:
31#    "This product includes software developed by Computing Services
32#     at Carnegie Mellon University (http://www.cmu.edu/computing/)."
33#
34# CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO
35# THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
36# AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE
37# FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
38# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
39# AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
40# OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
41
42error_table imap
43
44ec IMAP_INTERNAL,
45   "Internal Error"
46
47ec IMAP_IOERROR,
48   "System I/O error"
49
50ec IMAP_NOTFOUND,
51   "Item does not exist"
52
53ec IMAP_SYS_ERROR,
54   "Operating System Error"
55
56ec IMAP_NOSPACE,
57   "mail system storage has been exceeded"
58
59ec IMAP_PERMISSION_DENIED,
60   "Permission denied"
61
62ec IMAP_QUOTA_EXCEEDED,
63   "Over quota"
64
65ec IMAP_MESSAGE_TOO_LARGE,
66   "Message size exceeds fixed limit"
67
68ec IMAP_USERFLAG_EXHAUSTED,
69   "Too many user flags in mailbox"
70
71ec IMAP_NAMESPACE_BADPREFIX,
72   "Invalid namespace prefix in configuration file"
73
74ec IMAP_MAILBOX_BADFORMAT,
75   "Mailbox has an invalid format"
76
77ec IMAP_SYNC_CHECKSUM,
78   "Replication inconsistency detected"
79
80ec IMAP_MAILBOX_CHECKSUM,
81   "Mailbox format corruption detected"
82
83ec IMAP_MAILBOX_NOTSUPPORTED,
84   "Operation is not supported on mailbox"
85
86ec IMAP_MAILBOX_NONEXISTENT,
87   "Mailbox does not exist"
88
89ec IMAP_MAILBOX_EXISTS,
90   "Mailbox already exists"
91
92ec IMAP_MAILBOX_BADNAME,
93   "Invalid mailbox name"
94
95ec IMAP_MAILBOX_BADTYPE,
96   "Invalid mailbox type"
97
98ec IMAP_MAILBOX_MOVED,
99   "Mailbox has been moved to another server"
100
101ec IMAP_MAILBOX_RESERVED,
102   "Mailbox is currently reserved"
103
104ec IMAP_MAILBOX_LOCKED,
105   "Mailbox is locked"
106
107ec IMAP_MAILBOX_DISABLED,
108   "Delivery to mailbox is disabled"
109
110ec IMAP_PARTITION_UNKNOWN,
111   "Unknown/invalid partition"
112
113ec IMAP_INVALID_IDENTIFIER,
114   "Invalid identifier"
115
116ec IMAP_MESSAGE_CONTAINSNULL,
117   "Message contains NUL characters"
118
119ec IMAP_MESSAGE_CONTAINSNL,
120   "Message contains bare newlines"
121
122ec IMAP_MESSAGE_CONTAINS8BIT,
123   "Message contains non-ASCII characters in headers"
124
125ec IMAP_MESSAGE_BADHEADER,
126   "Message contains invalid header"
127
128ec IMAP_MESSAGE_NOBLANKLINE,
129   "Message has no header/body separator"
130
131ec IMAP_QUOTAROOT_NONEXISTENT,
132   "Quota root does not exist"
133
134ec IMAP_PROTOCOL_ERROR,
135   "Bad protocol"
136
137ec IMAP_PROTOCOL_BAD_PARAMETERS,
138   "Syntax error in parameters"
139
140ec IMAP_ANNOTATION_BADENTRY,
141   "Invalid annotation entry"
142
143ec IMAP_ANNOTATION_BADATTRIB,
144   "Invalid annotation attribute"
145
146ec IMAP_ANNOTATION_BADVALUE,
147   "Invalid annotation value"
148
149ec IMAP_BADURL,
150   "Bad URL"
151
152ec IMAP_ZERO_LENGTH_LITERAL,
153   "Zero-length message literal"
154
155# following used only proxy/db operations
156ec IMAP_BAD_SERVER,
157   "Invalid server requested"
158
159ec IMAP_SERVER_UNAVAILABLE,
160   "Server(s) unavailable to complete operation"
161
162ec IMAP_REMOTE_DENIED,
163   "The remote Server(s) denied the operation"
164
165ec IMAP_AGAIN,
166   "Retry operation"
167
168ec IMAP_NOT_SINGULAR_ROOT,
169   "This mailbox hierarchy does not exist on a single backend server."
170
171ec IMAP_REMOTE_NO_MULTIAPPEND,
172   "The remote server does not support MULTIAPPEND"
173
174# Following only used for internationalization of error messages
175
176ec IMAP_UNRECOGNIZED_CHARSET,
177   "Unrecognized character set"
178
179ec IMAP_INVALID_USER,
180   "Invalid user"
181
182ec IMAP_INVALID_LOGIN,
183   "Login incorrect"
184
185ec IMAP_ANONYMOUS_NOT_PERMITTED,
186   "Anonymous login is not permitted"
187
188ec IMAP_UNSUPPORTED_QUOTA,
189   "Unsupported quota resource"
190
191# Following used only for SASL operations
192
193ec IMAP_SASL_FAIL,
194   "Authentication failed"
195
196ec IMAP_SASL_CANCEL,
197   "Client cancelled authentication"
198
199ec IMAP_SASL_PROTERR,
200   "Protocol error during authentication"
201
202# Following used for internationalization of untagged OK/NO responses
203
204ec IMAP_NO_OVERQUOTA,
205   "Mailbox is over %s quota"
206
207ec IMAP_NO_CLOSEQUOTA,
208   "Mailbox is at %d%% of %s quota"
209
210ec IMAP_NO_MSGGONE,
211   "Message %d no longer exists"
212
213ec IMAP_NO_CHECKSEEN,
214   "Unable to checkpoint \\Seen state"
215
216ec IMAP_NO_CHECKPRESERVE,
217   "Unable to preserve \\Seen state"
218
219ec IMAP_NO_NOSUCHMSG,
220   "No matching messages"
221
222ec IMAP_NO_NOSUCHANNOTATION,
223   "No matching annotations"
224
225ec IMAP_NO_UNKNOWN_CTE,
226   "[UNKNOWN-CTE] Can not process the binary data"
227
228# Following used for internationalization of untagged BYE response
229
230ec IMAP_BYE_LOGOUT,
231   "LOGOUT received"
232
233# Following used for internationalization of tagged OK response
234
235ec IMAP_OK_COMPLETED,
236   "Completed"
237
238end
239