Re: [Exim] Where is net24-lsearch?

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Konrad Michels
Datum:  
To: Nico Erfurth
CC: Exim-Users (E-mail)
Betreff: Re: [Exim] Where is net24-lsearch?
Hi Nico
I was playing around with iplsearch last night and found it producing
some strange errors in my log files:

004-06-21 23:29:42 H=alias-1.c10-ave-mta2.cnet.com [206.16.1.161]
F=<CNET_Networks_#3.124740.3334393239363334.b@???>
temporarily rejected RCPT <xxxxxxxxxx@???>:
"alias-1.c10-ave-mta2.cnet.com" is not a valid iplsearch key

and even more interestingly a spam attempt being passed on by my
secondary MX

2004-06-21 23:30:32 H=fury.surfkitchen.com [10.1.1.8]
F=<Whitehead5Ackerman@???> temporarily rejected RCPT
<xxx@???>: "fury.surfkitchen.com" is not a valid iplsearch
key

Anyhow, I was just wondering whether there was any documentation on the
correct use of iplsearch? I can't seem to find it in the latest spec or
in the paper manual ...

I was trying to use it as follows:

deny message = rejected because $sender_host_address is in an internal
blacklist. If you feel this to be in error, please contact
postmaster@??? from another e-mail source.
hosts = iplsearch;/usr/local/exim/internal_list

maybe just the way I was trying to use it?

Thanks
Konrad


On Wed, 2004-06-16 at 22:53, Nico Erfurth wrote:
> Sandip Bhattacharya wrote:
> > I need to block a /24 netblock which is regularly pounding me with spam.
> > Google told me that there was a net24-lsearch earlier. Is this still
> > supported?
>
> Yes:
>
> hostlist blockedhosts = net24-lsearch;/etc/file/with/blocked/networks
>
> With a current exim version you can also use the iplsearch lookup, which
> matches an ip against a file with ips and netmasks. If it's just one
> host/network you want to block, then use
>
> hostlist blockedhosts = 1.2.3.4/24
>
> Nico
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>