Indeed, these lines show what I would expect exim to show in my logs.
But in the case of a sender callout/random, it seems it does not, it
seems it logs a refusal on "MAIL TO" instead of "RCPT TO".
What I tested is what you asked me to test, namely, send a mail to
<mail.llorien.org-1139481506-testing@???>. And, in this
case, the remote server aswered correctly, and exim logged everything
fine. However the sender callout option doesn't seem to log things that way.
Philip Hazel wrote: > On Fri, 10 Feb 2006, Renaud Allard wrote:
>
>
>>Which is the output I expected in the logs, namely failed after "RCPT
>>TO:" not after "MAIL FROM:".
>>
>>I attached the full debug output.
>
>
> Thank you. It shows that Exim certainly *thinks* it is writing what it
> should, from these lines (lines 295-296 in the debug file, linewrapped
> here):
>
> LOG: MAIN
> ** mail.llorien.org-1139481506-testing@???
> R=dnslookup_signed T=remote_smtp_signed: SMTP error from remote mail server
> after RCPT TO:<mail.llorien.org-1139481506-testing@???>:
> host calligate2.cali.co.uk [62.172.47.141]:
> 550 5.1.1 <mail.llorien.org-1139481506-testing@???> is not
> a valid mailbox
>
> Have you looked at the log contents that correspond to this? I find it
> very hard to believe that Exim is writing one thing to the debug output
> (and the bounce message) and a different thing to the log file.
>