Re: [exim] How to solve the problem with multiple sender IPs…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jakob Hirsch
Date:  
À: Lena
CC: exim-users
Sujet: Re: [exim] How to solve the problem with multiple sender IPs and (selective) greylisting?!
Lena@???, 2010-03-08 14:04:

> and whitelist few senders which can resend a letter from other
> IP-addresses in a block larger than /24.
> I.e. use ${sg{$sender_host_address}{\N\.\d+$\N}{}}


I'd suggest to use ${mask:<IP address>/<bit count>} instead. regex is
not always the best solution. This also works with IPv6 (one should use
a different bit count for that, though).

> for greylisting instead of $sender_host_address .


Or, don't greylist the whole world by default, but only suspicious
connections, e.g. hosts listed in some dnslist (you can be very generous
about choosing them then), with unusual HELO/EHLO or from IPs which seem
to be dynamic. Works very fine here.

> I attached excerpts from my config (including the whitelist) to
> http://wiki.exim.org/DbLessGreyListingC


What's the big advantage over using the builtin sqlite support for
greylisting?