OSEC

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

From: Liviu Daia (Liviu.Daiaimar.ro)
Date: Fri Apr 02 2004 - 03:14:23 CST


On 1 April 2004, Wietse Venema <wietseporcupine.org> wrote:
> Wietse Venema:
> > martynasinet.lt:
> > > I get same error:
> > >
> > > Apr 2 01:44:25 srv2 postfix/proxymap[16950]: fatal: dict_register:
> > > dictionary name exists: /etc/postfix/mysql-mydestination.cf
>
> This is caused by a very old bug in the MYSQL module.
>
> Wietse
>
> *** ./dict_mysql.c- Thu Jun 5 19:29:36 2003
> --- ./dict_mysql.c Thu Apr 1 21:56:13 2004
> ***************
> *** 373,379 ****
> dict_mysql->name->len_hosts);
> if (dict_mysql->pldb == NULL)
> msg_fatal("couldn't intialize pldb!\n");
> - dict_register(name, (DICT *) dict_mysql);
> return (DICT_DEBUG (&dict_mysql->dict));
> }
>
> --- 373,378 ----

    The same is probably needed for PgSQL. Anyway, this has been fixed
a long time ago in snapshots.

    Regards,

    Liviu Daia

--
Dr. Liviu Daia
Institute of Mathematics of the Romanian Academy