dovecot-2.0: deliver: Changed all EX_CONFIGs to EX_TEMPFAILs to ...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Sep 30 17:11:01 EEST 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/8342893350b2
changeset: 9948:8342893350b2
user: Timo Sirainen <tss at iki.fi>
date: Wed Sep 30 10:10:51 2009 -0400
description:
deliver: Changed all EX_CONFIGs to EX_TEMPFAILs to avoid bounces.
diffstat:
1 file changed, 2 insertions(+), 6 deletions(-)
src/lda/main.c | 8 ++------
diffs (30 lines):
diff -r 4169c35b6285 -r 8342893350b2 src/lda/main.c
--- a/src/lda/main.c Wed Sep 30 08:52:12 2009 -0400
+++ b/src/lda/main.c Wed Sep 30 10:10:51 2009 -0400
@@ -33,10 +33,6 @@
#include <pwd.h>
#include <sysexits.h>
-#ifndef EX_CONFIG
-# define EX_CONFIG 78 /* for HP-UX */
-#endif
-
#define DEFAULT_ENVELOPE_SENDER "MAILER-DAEMON"
/* After buffer grows larger than this, create a temporary file to /tmp
@@ -274,13 +270,13 @@ int main(int argc, char *argv[])
if (stat(argv[0], &st) < 0) {
fprintf(stderr, "stat(%s) failed: %s\n",
argv[0], strerror(errno));
- return EX_CONFIG;
+ return EX_TEMPFAIL;
} else if ((st.st_mode & 1) != 0) {
fprintf(stderr, "%s must not be both world-executable "
"and setuid-root. This allows root exploits. "
"See http://wiki.dovecot.org/LDA#multipleuids\n",
argv[0]);
- return EX_CONFIG;
+ return EX_TEMPFAIL;
}
}
More information about the dovecot-cvs
mailing list