On Thu, 11 Jan 2007, Heiko Schlittermann wrote:

> in my RCPT ACL I've:
>     ...
>     require message = Huh (sender)!
>           verify  = sender/callout=random
> 
>     require message = Huh (recipient)!
>           verify  = recipient/callout=random
>     ...
> 
> I expected exactly my message in the server response, nothing but my
> message.  But in the following examples you'll see that it's true only
> for the recipient verification.

If you want just your message for the sender verification failure, then
you must do the sender verification at MAIL time, not at RCPT time.

> Now testing it with BAD SENDER:
> 
>     # exiacl -f [EMAIL PROTECTED] -t [EMAIL PROTECTED]
>     **> /usr/sbin/exim -C /etc/exim4/exim4.conf -oMi 145.253.107.250 -bhc 
> 172.20.1.8
>     LOG: no host name found for IP address 172.20.1.8
>     < 220 paff.bioz.tzdresden.de ESMTP Exim 4.63 Thu, 11 Jan 2007 22:40:52 
> +0100
>     > EHLO schlittermann.de
>     < 250-paff.bioz.tzdresden.de Hello schlittermann.de [172.20.1.8]
>     < 250-SIZE 52428800
>     < 250-PIPELINING
>     < 250-STARTTLS
>     < 250 HELP
>     > MAIL FROM: [EMAIL PROTECTED]
>     < 250 OK
>     > RCPT TO: [EMAIL PROTECTED]
>     LOG: H=(schlittermann.de) [172.20.1.8] sender verify fail for <[EMAIL 
> PROTECTED]>
>     LOG: H=(schlittermann.de) [172.20.1.8] F=<[EMAIL PROTECTED]> rejected 
> RCPT [EMAIL PROTECTED]: \
>        Sender verify failed
>     < 550-Verification failed for <[EMAIL PROTECTED]>
>     < 550-Previous (cached) callout verification failure
>     < 550 Huh (sender)!

The reason for this is to make it clear that it is the sender that has 
failed to verify, and to state precisely which email address failed. 
Otherwise it could be very confusing if you had something like:

  RCPT TO:<x@@y>
  550 Verification failed
  
when in fact it was not [EMAIL PROTECTED] that failed.  

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

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to