Re: [exim] Blacklisting IP Ranges Using MySQL

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Mike Cardwell
Date:  
À: exim-users
Sujet: Re: [exim] Blacklisting IP Ranges Using MySQL
On 08/10/2010 11:49, Jeremy Harris wrote:

>> Is there a way to blacklist IP ranges using MySQL?
> [...]
>> 41.0.0.0/8
>> 58.0.0/8
>
> condition = ${if match_ip{$sender_host_address}\
>                           {${lookup mysql.......}}}


Every time that condition is called, it would fetch the entire table of
data from MySQL and then use Exim to sort through it.

-- 
Mike Cardwell - Perl/Java/Web developer, Linux admin, Email admin
Read my tech Blog -              https://secure.grepular.com/
Follow me on Twitter -           http://twitter.com/mickeyc
Hire me - http://cardwellit.com/ http://uk.linkedin.com/in/mikecardwell