Re: [exim] Blacklisting IP Ranges Using MySQL

Góra strony
Delete this message
Reply to this message
Autor: Mike Cardwell
Data:  
Dla: exim-users
Temat: 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