Postfix - switching to dynamically loaded database plugins

Jaroslav Skarvada jskarvad at redhat.com
Mon Mar 16 17:13:38 UTC 2015


Hi,

dynamically loaded database plugins has been supported in Debian
by downstream patch for a while. This patch went finally upstream,
so I am also introducing this feature in Fedora Rawhide (f23).

Previously, all database map support libraries were linked to the Postfix
binary, which required careful downstream selection of what libraries
to support and link. For users there was no way how to remove the
unneeded dependencies from the Postfix package (not counting
recompilation).

With the recent Postfix change (since postfix-3.0.0-4.fc23), users can
choose database maps they want by simply installing appropriate
Postfix subpackage(s). This also allows us to support more types of
database maps without adding additional dependencies to the Postfix base
package.

The following Postfix subpackages were introduced in Rawhide:

postfix-cdb
postfix-ldap
postfix-mysql
postfix-pcre
postfix-pgsql
postfix-sqlite

For users upgrading Postfix package in Rawhide it effectively means
that they need to install subpackages for all database maps they
use. E.g. if they use MySQL and LDAP maps, they need to install
postfix-mysql and postfix-ldap subpackages in addition to the
base Postfix package, otherwise their postfix setup will not work
correctly.

I will probably propose f23 Change for this feature later

thanks & regards

Jaroslav


More information about the devel mailing list