Re: [Exim] Spews list filtering

Top Page
Delete this message
Reply to this message
Author: Nico Erfurth
Date:  
To: konrad
CC: exim-users
Subject: Re: [Exim] Spews list filtering
Konrad Michels wrote:

>>If you are interested, I've a small script here (somehwhere) that
>>normalizes such lists to one single netmask, so an entry can be found
>>with a single-lookup, and you don't have to maintain a list of possible
>>net*- lookups.
>
> Sounds interesting - send away!


You can get it here:
http://mail.tmtowtdi.de/exim/netchange.pl

> I'd still be interested in doing it on mysql - even if its just for the
> academic exercise!


Well, it will be nearly the same just use

hosts = mysql;select 1 from networks where \
                blocked='${mask:$sender_host_address/24}'


if 24 is your netmask in the database, and your database entries are
like 10.0.0.0/24

Nico