Re: [exim] Blacklist hostname/domain

Pàgina inicial
Delete this message
Reply to this message
Autor: Duane Hill
Data:  
A: exim-users
Assumpte: Re: [exim] Blacklist hostname/domain

On Saturday, November 1, 2014, 1:09:16 PM, Always wrote:


> On Sat, 2014-11-01 at 15:27 +0100, Bertrand Caplet wrote:


>> I'm trying to blacklist a hostname, actually a reverse lookup on a IP
>> but I can't get this work.


>> I wanna blacklist this "bftp14.technical12.info" actually
>> technical12.info. I tried to create an acl like this :
>>
>> acl_smtp_blacklist_host:
>>          deny message = Sorry, your domain or address has been 
>> blacklisted by the admin.
>>          hosts = /etc/exim4/blacklisthosts.deny

>>
>> But I doesn't work. Can you please help me ? I don't understand


> I do this, all the time, very successfully.




> acl_check_connection:


> accept  hosts         = EXDIR/hosts.accept.a


> deny    message       = [SNA01] Your IP address is on the spammers
> generic list. \
>                         Send complaints to xxxx@yyyy
>         hosts         = EXDIR/hosts.spammer


> --------------------------------
> hosts.spammer (here are the first few of many entries)


> *airtelbroadband.in
> *adsl.alicedsl.de
> *dynamic.se.alltele.net
> *alshamil.net.ae
> *adsl.anteldata.net.uy
> *aphie.info
> *pools.arcor-ip.net
> *static.arcor-ip.net
> *as9105.com
> *as13285.net
> *as43234.net


> -------------------------------


<notes snipped>

I did not think host names were available within the acl_check_connect
as the acl deals strictly with the initial connection phase. I shall
have to investigate further.

--
Duane Hill
duihi77@???
"If at first you don't succeed, so much for sky diving."