From: Timo Sirainen Date: Wed, 30 Sep 2009 14:10:51 +0000 (-0400) Subject: deliver: Changed all EX_CONFIGs to EX_TEMPFAILs to avoid bounces. X-Git-Tag: 2.0.alpha1~104 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8c2a81cb2bda1c295ceb73d862878299ee70fd7c;p=thirdparty%2Fdovecot%2Fcore.git deliver: Changed all EX_CONFIGs to EX_TEMPFAILs to avoid bounces. --HG-- branch : HEAD --- diff --git a/src/lda/main.c b/src/lda/main.c index 948e59b2b0..17d29bed68 100644 --- a/src/lda/main.c +++ b/src/lda/main.c @@ -33,10 +33,6 @@ #include #include -#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; } }