Re: [exim] Help with empty sender_domains being rejected whe…

Top Page
Delete this message
Reply to this message
Author: Ian Eiloart
Date:  
To: Adam D. Barratt
CC: <exim-users@exim.org>
Subject: Re: [exim] Help with empty sender_domains being rejected when checking a domains whitelist file
On 21 Mar 2012, at 20:43, Adam D. Barratt wrote:
> On Wed, 2012-03-21 at 14:34 +0000, paul.mcilfatrick@??? wrote:
>> # Deny e-mail with no sender address.
>>  deny    condition     = ${if eq {${strlen:$sender_address}} {0}}
>>          message       = E-mail with '$sender_address' as sender address!
>>          logwrite      = E-mail with '$sender_address' as sender address - 'mime' acl deny!

>
> Is there a good reason why that stanza exists in your configuration? As
> you've discovered, it'll outright reject well-formed bounces / NDRs.


You definitely don't want to do that before DATA, since it'll mean that you can't deliver to sites that perform sender verification callouts.

> (Also, the use of $sender_address in the messages is a tad redundant
> given you've confirmed it to be zero-length :) )
>
> Regards,
>
> Adam




--
Ian Eiloart
Postmaster, University of Sussex
+44 (0) 1273 87-3148