Import ezmlm-idx 0.40
[ezmlm] / errtxt.h
CommitLineData
f8beb284
MW
1/*$Id: errtxt.h,v 1.46 1999/11/29 04:54:01 lindberg Exp $*/
2/*Name: $*/
3
4#ifndef ERRTXT_H
5#define ERRTXT_H
6
7/* Error messages. If you translate these, I would urge you to keep the */
8/* English version as well. I'm happy to include any bilingual versions */
9/* of this file with future versions of ezmlm-idx. */
10
11#define ERR_NOMEM "out of memory"
12#define ERR_NOCMD "command not available"
13#define ERR_CLOSE "unable to close "
14#define ERR_WRITE "unable to write "
15#define ERR_READ "unable to read "
16#define ERR_READ_KEY "unable to read key"
17#define ERR_FLUSH "unable to flush "
18#define ERR_SEEK "unalble to seek "
19#define ERR_SYNC "unable to sync "
20#define ERR_CHMOD "unable to chmod "
21#define ERR_STAT "unable to stat "
22#define ERR_DELETE "unable to delete "
23#define ERR_READ_INPUT "unable to read input: "
24#define ERR_SEEK_INPUT "unable to seek input: "
25#define ERR_CREATE "unable to create "
26#define ERR_MOVE "unable to move "
27#define ERR_OPEN "unable to open "
28#define ERR_OBTAIN "unable to obtain "
29#define ERR_OPEN_LOCK "unable to open lock: "
30#define ERR_OBTAIN_LOCK "unable to obtain lock: "
31#define ERR_NOLOCAL "LOCAL not set"
32#define ERR_NODTLINE "DTLINE not set"
33#define ERR_NOSENDER "SENDER not set"
34#define ERR_NOHOST "HOST not set"
35#define ERR_NOEXIST " does not exist"
36#define ERR_NOEXIST_KEY " key does not exist"
37#define ERR_SWITCH "unable to switch to "
38#define ERR_BOUNCE "I do not reply to bounce messages (#5.7.2)"
39#define ERR_ANONYMOUS "I do not reply to senders without host names (#5.7.2)"
40#define ERR_NOT_PUBLIC "Sorry, I've been told to reject all requests (#5.7.2)"
41#define ERR_NOT_ARCHIVED "Sorry, this list is not archived (#5.1.1)"
42#define ERR_NOT_INDEXED "Sorry, this list is not indexed (#5.1.1)"
43#define ERR_NOT_AVAILABLE "Command not available (#5.1.1)"
44#define ERR_NOT_ALLOWED "Command allowed only to moderators (#5.7.1)"
45#define ERR_BAD_ADDRESS "I don't accept messages at this address (inlocal and/or inhost don't match) (#5.1.1)"
46#define ERR_BAD_RETURN_ADDRESS "Invalid bounce or receipt address format (#5.1.1)"
47#define ERR_BAD_REQUEST "Illegal request format (#5.7.1)"
48#define ERR_QMAIL_QUEUE "unable to run qmail-queue: "
49#define ERR_TMP_QMAIL_QUEUE "temporary qmail-queue error: "
50#define ERR_NOT_PARENT "this message is not from my parent list (#5.7.2)"
51#define ERR_SUBLIST "sublist messages must have a Mailing-List header (#5.7.2)"
52#define ERR_MAILING_LIST "message already has a Mailing-List header (maybe I should be a sublist) (#5.7.2)"
53#define ERR_LOOPING "this message is looping: it already has my Delivered-To line (#5.4.6)"
54#define ERR_SUBSCRIBER_CAN "only subscribers can "
55#define ERR_571 " (#5.7.1)"
56#define ERR_EMPTY_DIGEST "nothing to digest"
57#define ERR_EMPTY_LIST "no messages in archive"
58#define ERR_NOINDEX "Sorry, I can't find the index for this message"
59#define ERR_BAD_INDEX "Old format or corrupted index. Run ezmlm-idx! (#5.3.0)"
60#define ERR_BAD_DIGCODE "incorrect digest code (#5.7.1)"
61#define ERR_UNEXPECTED "program logic error (#5.3.0)"
62#define ERR_BAD_ALL "Sorry, after removing unacceptable MIME parts from your message I was left with nothing (#5.7.0)"
63#define ERR_MIME_QUOTE "MIME boundary lacks end quote"
64#define ERR_SUBST_UNSAFE "Sorry, substitution of target addresses into headers with <#A#> or <#T#> is unsafe and not permitted."
65
66/* ezmlm-request unique */
67#define ERR_REQ_LISTNAME "This command requires a mailing list name (#5.1.1)"
68#define ERR_REQ_LOCAL "the local part of the command string does not match this list (#5.1.1)"
69
70/* ezmlm-reject unique */
71#define ERR_MAX_SIZE "Sorry, I don't accept messages larger than "
72#define ERR_MIN_SIZE "Sorry, I don't accept messages shorter than "
73#define ERR_SIZE_CODE " (#5.2.3)"
74#define ERR_NO_ADDRESS "List address must be in To: or Cc: (#5.7.0)"
75#define ERR_NO_SUBJECT "Sorry, I don't accept message with empty Subject (#5.7.0)"
76#define ERR_SUBCOMMAND "Sorry, I don't accept commands in the subject line. Please send a message to the -help address shown in the the ``Mailing-List:'' header for command info (#5.7.0)"
77#define ERR_BODYCOMMAND "Sorry, as the message starts with ``[un]subscribe'' it looks like an adminstrative request. Please send a message to the -help address shown in the ``Mailing-List:'' header for [un]subscribe info (#5.7.0)"
78#define ERR_BAD_TYPE "Sorry, I don't accept messages of MIME Content-Type '"
79#define ERR_BAD_PART "Sorry, a message part has an unacceptable MIME Content-Type: "
80#define ERR_JUNK "Precedence: junk - message ignored"
81
82/* ezmlm-manage unique */
83#define ERR_SUB_NOP "target is already a subscriber"
84#define ERR_UNSUB_NOP "target is not a subscriber"
85#define ERR_BAD_NAME "only letters and underscore allowed in file name (#5.6.0)"
86#define ERR_NO_MARK "missing start-of-text or end-of-text mark (#5.6.0)"
87#define ERR_EDSIZE "Maximum edit file size exceeded (#5.6.0)"
88#define ERR_BAD_CHAR "NUL or other illegal character in input (#5.6.0)"
89#define ERR_EXTRA_SUB "Processed SENDER check addition request for: "
90#define ERR_EXTRA_UNSUB "Processed SENDER check removal request for: "
91
92
93/* ezmlm-moderation functions unique */
94#define ERR_MOD_TIMEOUT "I'm sorry, I no longer have this message"
95#define ERR_MOD_ACCEPTED "I'm sorry, I've already accepted this message"
96#define ERR_MOD_REJECTED "I'm sorry, I've already rejected this message"
97#define ERR_MOD_COOKIE "Illegal or outdated moderator request (#5.7.1)"
98#define ERR_FORK "unable to fork: "
99#define ERR_EXECUTE "unable to execute "
100#define ERR_CHILD_CRASHED "child crashed"
101#define ERR_CHILD_FATAL "fatal error from child"
102#define ERR_CHILD_TEMP "temporary error from child"
103#define ERR_CHILD_UNKNOWN "unknown error from child"
104#define ERR_UNIQUE "unable to create unique message file name"
105#define ERR_NO_POST "I'm sorry, you are not allowed to post messages to this list (#5.7.2)"
106
107/* ezmlm-make unique */
108#define ERR_VERSION "ezmlmrc version mismatch. Behavior may not match docs."
109#define ERR_ENDTAG "tag lacks /> end marker: "
110#define ERR_LINKDIR "linktag lacks /dir: "
111#define ERR_FILENAME "continuation tag without defined file name: "
112#define ERR_PERIOD "periods not allowed in tags: "
113#define ERR_SLASH "dir and dot must start with slash"
114#define ERR_NEWLINE "newlines not allowed in dir"
115#define ERR_QUOTE "quotes not allowed in dir"
116#define ERR_SYNTAX " syntax error: "
117
118/* ezmlm-limit unique */
119#define ERR_EXCESS_MOD "excess traffic: moderating"
120#define ERR_EXCESS_DEFER "excess traffic: deferring"
121
122/* ezmlm-cron unique */
123#define ERR_SAME_HOST "list and digest must be on same host"
124#define ERR_DOW "single comma-separated digits only for day-of-week"
125#define ERR_NOT_CLEAN "Bad character in address components"
126#define ERR_SUID "Sorry, I won't run as root"
127#define ERR_UID "user id not found"
128#define ERR_EUID "effective user id not found"
129#define ERR_BADUSER "user not allowed"
130#define ERR_BADHOST "list host not allowed"
131#define ERR_BADLOCAL "list local not allowed"
132#define ERR_LISTNO "max number of list entries exceeded"
133#define ERR_NO_MATCH "no matching entry found"
134#define ERR_SETUID "unable to set uid: "
135#define ERR_CFHOST "bounce-host required on first line of "
136#define ERR_EXCLUSIVE "action-controlling switches are mutually exclusive"
137#define ERR_CRONTAB "crontab update failed. Contact you sysadmin with the above error information"
138
139/* ezmlm-gate */
140#define ERR_REJECT "Sorry, I've been told to reject this message (#5.7.0)"
141
142/* issub/subscribe ... */
143#define ERR_ADDR_AT "address does not contain @"
144#define ERR_ADDR_LONG "address is too long"
145#define ERR_ADDR_NL "address contains newline"
146
147/* sql */
148#define ERR_COOKIE "message does not have valid authentication token"
149#define ERR_NOT_ACTIVE "this sublist is not active"
150#define ERR_PARSE "unable to parse "
151#define ERR_DONE "message already successfully processed by this list"
152#define ERR_MAX_BOUNCE "max bounces exceeded: bounce will not be saved"
153#define ERR_NO_TABLE "no table specified in database connect data"
154
155#endif
156