More references to hash: in default config, postfix-hash package messages
Just some quick observations after an update to 3.9 with lmdb.
The default configuration contains hash:
as examples in main.cf
, maybe patching those to lmdb:
is acceptable here (I know, this deviates from the upstream configuration from postfix, but creates less confusion - there is also already a postfix-3.5.8-main_defaults.patch
patch file, maybe this one can be adapted?).
If you call newaliases
for instance (and you happen to have hash:
in main.cf
) you get:
postalias: warning: unsupported dictionary type: hash. Is the postfix-hash package installed? postalias: fatal: unsupported map type: hash
As far as I can tell, there is no postfix-hash package being built, PKGBUILD contains:
pkgname=( postfix postfix-{cdb,ldap,lmdb,mongodb,mysql,pcre,pgsql,sqlite} )
The file to patch here is:
postfix-3.9.0/src/global/dynamicmaps.c
:
if ((dp = (DYMAP_INFO *) htable_find(dymap_info, dict_type)) == 0) { msg_warn("unsupported dictionary type: %s. " "Is the postfix-%s package installed?", dict_type, dict_type); return (0);
Patching this I would say is rather cosmetic and is more something which should be done in Postfix itself when one disabled certain map type.. :-)