Subject: Re: postfix and pgsql (or any other advanced features)
To: Thor Lancelot Simon <tls@rek.tjls.com>
From: Eric Haszlakiewicz <erh@jodi.nimenees.com>
List: current-users
Date: 12/18/2004 00:10:21
On Fri, Dec 17, 2004 at 05:07:45PM -0500, Thor Lancelot Simon wrote:
> On Fri, Dec 17, 2004 at 03:51:25PM -0600, Michael Graff wrote:
> > Is there any way to runtime-load the postgresql map type into the
> > system-supplied postfix? If not, my only alternative is to remove the
> > postfix binaries the system supplies and use pkgsrc, which defeats the whole
> > push for postfix in the base installation in the first place.
>
> Uh, no. You are entirely free to install postfix from pkgsrc without
> "removing the postfix binaries the system supplies"; a tiny change to
> mail.conf is all that's required.
and a /etc/rc.conf.d/postfix to get /etc/rc.d/postfix to start
the correct postfix.
btw, adding support for dynamically loading it probably wouldn't be
hard. I think you just need to arrange for dict_open_register() to be
called. Maybe with a appropriately crafted library init section and
LD_PRELOAD?
eric