[Mailman-Developers] [Fwd: Re: [Mailman-Users] Strange Problem.]

Barry A. Warsaw bwarsaw@cnri.reston.va.us (Barry A. Warsaw)
Sat, 27 Feb 1999 14:28:29 -0500 (EST)


>>>>> "GS" == Greg Stein <gstein@lyra.org> writes:

    GS> This brings up an interesting idea: have the wrapper use
    GS> different exit codes based on why it punted. That way, a
    GS> simple examination of the maillog will tell you what happened.

Good suggestion Greg.

#define GID_MISMATCH 2
#define SETREGID_FAILURE 3
#define EXECVE_FAILURE 4
#define MAIL_USAGE_ERROR 5
#define MAIL_ILLEGAL_COMMAND 6

-Barry