On Wed, Dec 24, 2025 at 03:16:06PM +0100, Marc Dierksen via Postfix-users wrote:
> found a problem with Postfix on Rocky-10.
Perhaps more with the vendor packages, than Postfix software as such.
> [root@rocky10 ~]# postconf -d | grep btree
> address_verify_map = btree:$data_directory/verify_cache
> postscreen_cache_map = btree:$data_directory/postscreen_cache
These are the upstream defaults,
$ git grep -wB1 btree -- src/global/mail_params.h
src/global/mail_params.h-#define VAR_VERIFY_MAP
"address_verify_map"
src/global/mail_params.h:#define DEF_VERIFY_MAP
"btree:$data_directory/verify_cache"
--
src/global/mail_params.h-#define VAR_PSC_CACHE_MAP
"postscreen_cache_map"
src/global/mail_params.h:#define DEF_PSC_CACHE_MAP
"btree:$data_directory/postscreen_cache"
but if a vendor does ship "btree" or "hash" drivers for Postfix, they
really should change the defaults.
> I guess either RedHat or the Rocky guys screwed this up and maybe
> backported something they should not have?
I build my own Postfix from source, on a Fedora 43 system and I have:
$ cat /etc/fedora-release
Fedora release 43 (Forty Three)
$ uname -sr
Linux 6.17.10-300.fc43.x86_64
$ postconf -m | grep -wE 'btree|hash|cdb|lmdb'
btree
cdb
hash
lmdb
$ ldd /opt/postfix/sbin/postmap | grep db
libdb-5.3.so => /lib64/libdb-5.3.so (0x00007fadfe630000)
$ rpm -qf /lib64/libdb-5.3.so
libdb-5.3.28-66.fc43.x86_64
$ cat /opt/postfix/etc/dynamicmaps.cf
# dict-type so-name (pathname) dict-function mkmap-function
cdb postfix-cdb.so dict_cdb_open mkmap_cdb_open
lmdb postfix-lmdb.so dict_lmdb_open mkmap_lmdb_open
pcre postfix-pcre.so dict_pcre_open
The underlying "libdb-5.3" library is for the moment still available,
and it is possible to build Postfix with built-in support for "btree"
and/or "hash" tables.
--
Viktor. 🇺🇦 Слава Україні!
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]