OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [patch] Feature for dict_mysql

From: José Luis Tallón (jltallonadv-solutions.net)
Date: Mon May 03 2004 - 19:41:04 CDT


Wietse Venema wrote:

>David Anderson:
>
>
>>Hi,
>>
>>I have recently installed postfix as MTA and MDA for some virtual
>>domains. I wanted the configuration stored in a MySQL database. Simple
>>enough, dict_mysql is there for just that purpose. Except that I wanted
>>to store account names (local part of the email address) and domain
>>names in separate tables, and link from one to the other.
>>
>>This sort of setup has a problem: using the configuration options for
>>dict_mysql, the queries that one can construct are fairly limited. For
>>
>>
>
>Doesn't pgsql_table(5) already have this ability?
>
>Someone sent me a patch that clones this into MySQL tables, which
>is relatively straightforward.
>
>
It was my original so-unintrusive-it-almost-does nothing patch, which
was later subsumed and enhanced by the db_common patch from Liviu Daia
plus some of my modifications.
The latest of the db_common series of patches ( sorry, Liviu, i haven't
tested the last one yet -- not enough hours in a day! ) includes that
functionality as well as some other features.

>Unfortunately, I won't have time to release new code until late June
>and I will stick to that decision.
>
>
No problems there... but maybe that will be the time to revisit the
'db_common' issue and find a solution that gets all involved parties
satisfied.

> Wietse
>
>
    J.L.