procmail
[Top] [All Lists]

Re: Exit codes

1997-05-17 03:13:00
Is there an exit code that will cause sendmail
to treat the mail as undeliverable? (unknown
user/host/domain)

Your best source for information would, of course, be the sendmail
documentation.  Sendmail is available from:

  ftp://ftp.sendmail.org/pub/sendmail

However, here's a summary of what different mailer error codes mean to
sendmail:

#       /* 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",

-- Lars

---
Lars Kellogg-Stedman * lars(_at_)bu(_dot_)edu * (617)353-8277
Office of Information Technology, Boston University

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