Re: [Exim] 2 bugs I think

Top Page
Delete this message
Reply to this message
Author: Andreas Metzler
Date:  
To: exim-users
Subject: Re: [Exim] 2 bugs I think
On Fri, Jan 23, 2004 at 11:40:57AM +1100, Peter D. Gray wrote:
[...]
> If -oee is used, exim still exits with a non-zero error
> code even though a bounce is generated to the sender
> if there is a problem. I can understand that a non-zero
> code should be returned if a problem occurs and a bounce
> cannot be generated, but if the error is handled by
> a bounce, the exit code should be zero. This is causing
> me problems.

[...]

I cannot reproduce that, at least not as simply as you suggest:
ametzler@downhill:~> /usr/sbin/exim4 -oee doesnotexist@localhost < /dev/null; echo $?
0
ametzler@downhill:~> /usr/sbin/exim4 -f doesnotexist@_ -oee doesnotexist@localhost < /dev/null; echo $?
exim: doesnotexist@_ - bad address: domain missing or malformed
1

            cu andreas