procmail
[Top] [All Lists]

Re: [Q] Exit Code/Forward Email

1996-01-22 11:30:41
On Fri, 19 Jan 1996 22:15:23 -0600  Philip Guenther wrote:

The same as on any other: the code are defined by sendmail.  The
question is what do you want sendmail to do if it hits that exit.  If
you want to have sendmail retry the message, then you would exit with
code 75.  Why 75?  Take a look at /usr/include/sysexits.h  The compile
constant used by sendmail EX_TEMPFAIL is defined to be 75.
<snip>

Can an rc file be made to #include /usr/include/sysexits.h or some
other file?  This would be a useful thing IMO, if it doesn't already
exist.  I'm thinking of something like what's done with C++/C headers:

extern "C" {
#include </usr/include/sysexits.h>
}

This would remove some of the hard-wiring in rc files.  Comments?

Scott <smurman(_at_)best(_dot_)com>

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