]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
deliver: Changed all EX_CONFIGs to EX_TEMPFAILs to avoid bounces.
authorTimo Sirainen <tss@iki.fi>
Wed, 30 Sep 2009 14:10:51 +0000 (10:10 -0400)
committerTimo Sirainen <tss@iki.fi>
Wed, 30 Sep 2009 14:10:51 +0000 (10:10 -0400)
--HG--
branch : HEAD

src/lda/main.c

index 948e59b2b07a0a9070621da468c5832d6de6cbfb..17d29bed689da2f33b76282736693a3f0e25c364 100644 (file)
 #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;
                }
        }