Re: [exim] Logging of "Sender verify failed"

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Frank Elsner
Kopio: Exim Users
Aihe: Re: [exim] Logging of "Sender verify failed"
On Wed, 25 Jan 2006, Frank Elsner wrote:

> But why are there *2* lines in the main log? Isn't *1* enough?
>
> Example:
>
> 2006-01-25 12:46:18 H=(JASMINA) [82.146.26.XXX] sender verify fail for <XXXXXXX@???>
> 2006-01-25 12:46:18 H=(JASMINA) [82.146.26.XXX] F=<XXXXXXX@???> rejected RCPT <YYYYYYYY@???>: Sender verify failed


The first line is written when a sender verify fails. This does not have
to be in response to a RCPT command. It might be on a MAIL command; it
could even be at the DATA stage. The code that is doing the sender
verification doesn't know where it is being called from, and even if it
*is* called at the RCPT stage, the failure may not cause a rejection.

The second line tells you that a RCPT command was rejected.

I could add a logging option to disable the first message. This could
mean that nothing was logged when a sender verify failed. But if that's
what people want...


-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book