|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: adi (adi
satunet.com)Date: Fri Feb 16 2001 - 21:27:05 CST
On Sat, Feb 17, 2001 at 01:34:39PM +1100, Tim Bell wrote:
> Same here with the same test. However, you're testing with
> postfix/local, and my problem is with postfix/pipe. So there's
> obviously some difference between the two when it comes to handling
> EX_NOUSER.
Hmm.. I don't think so .. maybe just because maildrop using different
'convention' with postfix about exit code :-) I noticed (from strace
output) that maildrop will always exit(EX_TEMPFAIL), even if I use
errexit=EX_NOUSER ...
I'm not saying that I know about maildrop well, but changing nouser()
function at main.C to:
static void nouser()
{
// errexit=EX_TEMPFAIL;
// throw "Invalid user specified.";
throw EX_NOUSER;
}
had solved my problem days ago (I'm not using maildrop currently).
Regards,
P.Y. Adi Prasaja
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]