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 (a] 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 42 error_table imap 43 44 ec IMAP_INTERNAL, 45 "Internal Error" 46 47 ec IMAP_IOERROR, 48 "System I/O error" 49 50 ec IMAP_NOTFOUND, 51 "Item does not exist" 52 53 ec IMAP_SYS_ERROR, 54 "Operating System Error" 55 56 ec IMAP_NOSPACE, 57 "mail system storage has been exceeded" 58 59 ec IMAP_PERMISSION_DENIED, 60 "Permission denied" 61 62 ec IMAP_QUOTA_EXCEEDED, 63 "Over quota" 64 65 ec IMAP_MESSAGE_TOO_LARGE, 66 "Message size exceeds fixed limit" 67 68 ec IMAP_USERFLAG_EXHAUSTED, 69 "Too many user flags in mailbox" 70 71 ec IMAP_NAMESPACE_BADPREFIX, 72 "Invalid namespace prefix in configuration file" 73 74 ec IMAP_MAILBOX_BADFORMAT, 75 "Mailbox has an invalid format" 76 77 ec IMAP_SYNC_CHECKSUM, 78 "Replication inconsistency detected" 79 80 ec IMAP_MAILBOX_CHECKSUM, 81 "Mailbox format corruption detected" 82 83 ec IMAP_MAILBOX_NOTSUPPORTED, 84 "Operation is not supported on mailbox" 85 86 ec IMAP_MAILBOX_NONEXISTENT, 87 "Mailbox does not exist" 88 89 ec IMAP_MAILBOX_EXISTS, 90 "Mailbox already exists" 91 92 ec IMAP_MAILBOX_BADNAME, 93 "Invalid mailbox name" 94 95 ec IMAP_MAILBOX_BADTYPE, 96 "Invalid mailbox type" 97 98 ec IMAP_MAILBOX_MOVED, 99 "Mailbox has been moved to another server" 100 101 ec IMAP_MAILBOX_RESERVED, 102 "Mailbox is currently reserved" 103 104 ec IMAP_MAILBOX_LOCKED, 105 "Mailbox is locked" 106 107 ec IMAP_MAILBOX_DISABLED, 108 "Delivery to mailbox is disabled" 109 110 ec IMAP_PARTITION_UNKNOWN, 111 "Unknown/invalid partition" 112 113 ec IMAP_INVALID_IDENTIFIER, 114 "Invalid identifier" 115 116 ec IMAP_MESSAGE_CONTAINSNULL, 117 "Message contains NUL characters" 118 119 ec IMAP_MESSAGE_CONTAINSNL, 120 "Message contains bare newlines" 121 122 ec IMAP_MESSAGE_CONTAINS8BIT, 123 "Message contains non-ASCII characters in headers" 124 125 ec IMAP_MESSAGE_BADHEADER, 126 "Message contains invalid header" 127 128 ec IMAP_MESSAGE_NOBLANKLINE, 129 "Message has no header/body separator" 130 131 ec IMAP_QUOTAROOT_NONEXISTENT, 132 "Quota root does not exist" 133 134 ec IMAP_PROTOCOL_ERROR, 135 "Bad protocol" 136 137 ec IMAP_PROTOCOL_BAD_PARAMETERS, 138 "Syntax error in parameters" 139 140 ec IMAP_ANNOTATION_BADENTRY, 141 "Invalid annotation entry" 142 143 ec IMAP_ANNOTATION_BADATTRIB, 144 "Invalid annotation attribute" 145 146 ec IMAP_ANNOTATION_BADVALUE, 147 "Invalid annotation value" 148 149 ec IMAP_BADURL, 150 "Bad URL" 151 152 ec IMAP_ZERO_LENGTH_LITERAL, 153 "Zero-length message literal" 154 155 # following used only proxy/db operations 156 ec IMAP_BAD_SERVER, 157 "Invalid server requested" 158 159 ec IMAP_SERVER_UNAVAILABLE, 160 "Server(s) unavailable to complete operation" 161 162 ec IMAP_REMOTE_DENIED, 163 "The remote Server(s) denied the operation" 164 165 ec IMAP_AGAIN, 166 "Retry operation" 167 168 ec IMAP_NOT_SINGULAR_ROOT, 169 "This mailbox hierarchy does not exist on a single backend server." 170 171 ec IMAP_REMOTE_NO_MULTIAPPEND, 172 "The remote server does not support MULTIAPPEND" 173 174 # Following only used for internationalization of error messages 175 176 ec IMAP_UNRECOGNIZED_CHARSET, 177 "Unrecognized character set" 178 179 ec IMAP_INVALID_USER, 180 "Invalid user" 181 182 ec IMAP_INVALID_LOGIN, 183 "Login incorrect" 184 185 ec IMAP_ANONYMOUS_NOT_PERMITTED, 186 "Anonymous login is not permitted" 187 188 ec IMAP_UNSUPPORTED_QUOTA, 189 "Unsupported quota resource" 190 191 # Following used only for SASL operations 192 193 ec IMAP_SASL_FAIL, 194 "Authentication failed" 195 196 ec IMAP_SASL_CANCEL, 197 "Client cancelled authentication" 198 199 ec IMAP_SASL_PROTERR, 200 "Protocol error during authentication" 201 202 # Following used for internationalization of untagged OK/NO responses 203 204 ec IMAP_NO_OVERQUOTA, 205 "Mailbox is over %s quota" 206 207 ec IMAP_NO_CLOSEQUOTA, 208 "Mailbox is at %d%% of %s quota" 209 210 ec IMAP_NO_MSGGONE, 211 "Message %d no longer exists" 212 213 ec IMAP_NO_CHECKSEEN, 214 "Unable to checkpoint \\Seen state" 215 216 ec IMAP_NO_CHECKPRESERVE, 217 "Unable to preserve \\Seen state" 218 219 ec IMAP_NO_NOSUCHMSG, 220 "No matching messages" 221 222 ec IMAP_NO_NOSUCHANNOTATION, 223 "No matching annotations" 224 225 ec IMAP_NO_UNKNOWN_CTE, 226 "[UNKNOWN-CTE] Can not process the binary data" 227 228 # Following used for internationalization of untagged BYE response 229 230 ec IMAP_BYE_LOGOUT, 231 "LOGOUT received" 232 233 # Following used for internationalization of tagged OK response 234 235 ec IMAP_OK_COMPLETED, 236 "Completed" 237 238 end 239