Re: [Exim] Deny domain

Pàgina inicial
Delete this message
Reply to this message
Autor: Peter Bowyer
Data:  
A: exim-users
Assumpte: Re: [Exim] Deny domain
[Back on list]

Paulo Andre said:
> On Thursday 15 July 2004 14:11, Peter Bowyer wrote:
>>
>>
>> You're checking the recipient domain, not the sender domain. And you got
>> the syntax wrong - should be 'domains = +blacklist_domains'.
>>
>> However... sender domains are trivially and habitually forged, and are
>> not
>> suitable for reliable blacklisting. I suggest you consider using a
>> blacklist of sending IPs instead.
>>
>
> I am currently doing the reverse lookup on dns,
> I have made a section for acl_check_sender and added my deny in there, and
> still the email gets through from a blacklisted domain.


You can use 'sender_domains' as a condition, in any acl after
acl_smtp_mail. 'domains' always refers to the recipient domain in a
acl_smtp_rcpt acl, and is undefined elsewhere.

Peter