Re: [exim] setting up personal ip blacklist

Pàgina inicial
Delete this message
Reply to this message
Autor: eximmail
Data:  
A: exim-users
Assumpte: Re: [exim] setting up personal ip blacklist
Steve Kemp wrote:
> On Sun Nov 30, 2008 at 11:01:58 -0800, eximmail wrote:
>
>
>
>>        dnslists = blacklist_ip

>>
>
> This is your mistake; you're using 'dnslists' when you want to use
> 'hosts'. For example this is included in the stock Debian exim4
> configuration file:
>
>     message = sender IP address $sender_host_address is locally blacklisted here
> . If you think this is wrong, get in touch with postmaster
>     hosts = ${if exists{CONFDIR/local_host_blacklist}\
>                  {CONFDIR/local_host_blacklist}\
>                  {}}

>
> Steve
>

message = sender IP address $sender_host_address is locally blacklisted
here. If you think this is wrong, get in touch with postmaster

   hosts = ${if exists{/etc/exim/blacklist_ip}\
                {/etc/exim/blacklist_ip}\
                 {}}


this is still blocking all mail and inserting the message