Re: [exim] Whilelisting a single IP

Top Page
Delete this message
Reply to this message
Author: Roberto Salvatierra
Date:  
To: exim-users
Subject: Re: [exim] Whilelisting a single IP
Thank you Grzegorz

I tried this 2 things:

 deny    !hosts = natsp-43-netra20.ice.co.cr
            condition = ${if 
match{${mask:$sender_host_address/32}{200.91.77.43/32}{no}{yes}}
            dnslists = 
relays.visi.com:bl.spamcop.net:relays.ordb.org:sbl-xbl.spamhaus.org
            message = host is listed in $dnslist_domain
and


deny    condition = ${if 
match{${mask:$sender_host_address/32}{200.91.77.43/32}{no}{yes}}
           dnslists = 
relays.visi.com:bl.spamcop.net:relays.ordb.org:sbl-xbl.spamhaus.org
           message = host is listed in $dnslist_domain


I still get:

550 host is listed in bl.spamcop...

any other suggestion ?

Roberto Salvatierra



----- Original Message -----

>>  deny    !hosts = natsp-43-netra20.ice.co.cr
>>          dnslists =
> relays.visi.com:bl.spamcop.net:relays.ordb.org:sbl-xbl.spa
>>          message = host is listed in $dnslist_domain

>
> Just add this extra line to the above directive:
>
> condition = ${if match
> {${mask:$sender_host_address/32}{123.123.123.123/32}{no}{yes}}
>
> Of course you need to change 123.123.123.123 to the ip address which you
> want to bypass the RBL's