Mercurial > dovecot > core-2.2
diff src/lda/main.c @ 9948:8342893350b2 HEAD
deliver: Changed all EX_CONFIGs to EX_TEMPFAILs to avoid bounces.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 30 Sep 2009 10:10:51 -0400 |
parents | b373de4973cd |
children | e8fc7ee87410 |
line wrap: on
line diff
--- 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 @@ 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; } }