procmail
[Top] [All Lists]

Re: Exit codes

1997-05-17 02:45:00
Gary A Delong writes:

Could someone explain the practice of assigning
exit codes.  

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)

Some systems have a sysexits.h file - look there or try running
"man sysexits".  For those that don't, procmail defines a few
exit codes in src/includes.h - search for the string "Standard
exit codes" (lines 146-56 in 3.11pre7).

Hope this helps.

-- 
Michael Fuhr
http://www.dimensional.com/~mfuhr/

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