OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: 'postconf -m' on debian

From: Andrew McNamara (andrewmobject-craft.com.au)
Date: Mon Jun 23 2003 - 22:51:23 CDT


>While playing with postfinger, I discovered something strange, at least
>to me.
>
># postconf -m
>static
>nis
>dbm
>regexp
>environ
>btree
>unix
>hash
>
>Notice that there is no pcre, nor mysql, nor ldap there.
>
>But, I can use those missing maps, at least for pcre. I suspect that has
>something to do with Debian packaging.

Indeed it is. LaMont Jones, the debian package maintainer, added dynamic
loading of maps to the Debian postfix. This allows him to distribute a
base postfix package with minimal depandancies, and a set of optional
map modules, which are dependant on other packages.

If he didn't do this, your Debian postfix package would have a fixed list
of supported map types, and would have dependancies on the libraries
those require (so installing postfix would mean that you also *must*
install LDAP, mysql, postgres, etc - hardly acceptable).

The dynamic maps are loaded on demand, so they don't appear in -m output.

--
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/