procmail
[Top] [All Lists]

Re: Exit codes

1997-05-16 10:04:00
Excerpts from mail: (16-May-97) Exit codes by Gary A Delong
I've noted that the suggested .forward seems to return an exit code of
75, and that many spam recipies use 77.

Is there an exit code that will cause sendmail to treat the mail as
undeliverable? (unknown user/host/domain)

From the sendmail source code:

      /* 64 USAGE */          " 500 Bad usage",
      /* 65 DATAERR */        " 501 Data format error",
      /* 66 NOINPUT */        ":550 Cannot open input",
      /* 67 NOUSER */         " 550 User unknown",
      /* 68 NOHOST */         " 550 Host unknown",
      /* 69 UNAVAILABLE */    " 554 Service unavailable",
      /* 70 SOFTWARE */       ":554 Internal error",
      /* 71 OSERR */          ":451 Operating system error",
      /* 72 OSFILE */         ":554 System file missing",
      /* 73 CANTCREAT */      ":550 Can't create output",
      /* 74 IOERR */          ":451 I/O error",
      /* 75 TEMPFAIL */       " 250 Deferred",
      /* 76 PROTOCOL */       " 554 Remote protocol error",
      /* 77 NOPERM */         ":550 Insufficient permission",
      /* 78 CONFIG */         " 554 Local configuration error",

Later,
Ed

<Prev in Thread] Current Thread [Next in Thread>