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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Ian Eiloart
Date:  
À: Adam D. Barratt
CC: <exim-users@exim.org>
Sujet: 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