procmail
[Top] [All Lists]

Re: Halting delivery on program failure

2006-03-23 05:40:07
Klaus Johannes Rusch schreef:

:0
* !^X-Spam-Status:
{ EXITCODE='75'  HOST }

Are you sure though that you want to bounce legitimate mail if your
spamassassin fails for some reason ?

EXITCODE 75 shouldn't result in a Non-Delivery Notice (generated by the
sender's service), but must signal the sender's service that it should
try again later. With EXITCODES such as 67-69 and 77, the sender's
service should generate a Non-Delivery Notice.

But all of this depends on whether procmail is running within the
SMTP-session, or only after the mail is already accepted. In the second
case, the receiver's service must (and will) create a Non-Delivery
Notice, even for a 75.

#  EX_USAGE       = 64  # command line usage error
#  EX_DATAERR     = 65  # data format error
#  EX_NOINPUT     = 66  # cannot open input
#  EX_NOUSER      = 67  # addressee unknown
#  EX_NOHOST      = 68  # host name unknown
#  EX_UNAVAILABLE = 69  # service unavailable
#  EX_SOFTWARE    = 70  # internal software error
#  EX_OSERR       = 71  # system error (e.g., can't fork)
#  EX_OSFILE      = 72  # critical OS file missing
#  EX_CANTCREAT   = 73  # can't create (user) output file
#  EX_IOERR       = 74  # input/output error
#  EX_TEMPFAIL    = 75  # temp failure; user is invited to retry
#  EX_PROTOCOL    = 76  # remote error in protocol
#  EX_NOPERM      = 77  # permission denied
#  EX_CONFIG      = 78  # configuration error

-- 
Groet, Ruud


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail