OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: reject_rbl_client question

From: Magnus Bäck (magnusdsek.lth.se)
Date: Mon Aug 02 2004 - 16:12:32 CDT


On Monday, August 02, 2004 at 22:55 CEST,
     mailinglistsd-g-c.de wrote:

> why isn't postfix able to get the rbl servers from mysql?
> like:
> reject_rbl_client mysql:/etc/postfix/mysql_blacklist_rbl.cf
>
> while mysql_blacklist_rbl.cf:
>
> user = postfix
> password = xxxxxx
> hosts = localhost
> dbname = postfix
> table = blacklist
> select_field = server
> where_field = server
> additional_conditions = and active = 1

In Postfix, lookup tables return one or more values given a certain
lookup key. What would the lookup key be in this case?

> noo good idea? would be a nice feature...

Oh, come. Why is it that so many people are so obsessed with putting
data in relational databases?

--
Magnus Bäck
magnusdsek.lth.se