RE: [Exim] spfilter and exim

Top Page
Delete this message
Reply to this message
Author: Thomas Kinghorn
Date:  
To: 'Nico Erfurth'
CC: Exim-Users (E-mail)
Subject: RE: [Exim] spfilter and exim
the documents state that you need to add the following to the exim config.

host_reject_recipients = lsearch;/etc/mail/host_reject

Would this work?
If so, where would you add the line?

Thanks for all the effort and patience Nico..

Regards,

Tom Kinghorn





-----Original Message-----
From: Nico Erfurth [mailto:masta@perlgolf.de]
Sent: 03 January 2003 12:16
To: Thomas Kinghorn
Cc: Exim-Users (E-mail)
Subject: Re: [Exim] spfilter and exim


On Fri, 3 Jan 2003, Nico Erfurth wrote:

> I had a quick look, just use ./spfilter.pl -f exim und convert the
> resulting file in output/DEFAULT.exim to something else, like cdb or dbm.
>
> you can use ${lookup {IPADDR} dbm {generated file}} now


Hmmm, I checked it again, and I see that the output for exim is not
correct.

For full blocks it outputs:

xxx.yyy.zzz: reason

Exim wants a full ipaddr with a netmask like.

xxx.yyy.zzz.0/24: reason

so you can't check the whole database (unless you use some tricks with
$sg{}).

ciao