[pfx] Re: [heads up] lmdb 1.0

Michael Grimm via Postfix-users <[email protected]> Mon, 6 Jul 2026 09:20:13 +0200
Newsgroups gmane.mail.postfix.user
Message-ID <[email protected]>
Scott Techlist via Postfix-users <[email protected]> wrote:
>> From: Michael Grimm via Postfix-users [mailto:[email protected]]

>> I have already migrated to cdb.
> 
> I understood cdb was read-only and good for static tables, but not for postscreen_cache_map?

That is correct. 

As I am using the default default_cache_db_type for postscreen_cache_map it is still at 'btree':

mail> postconf | grep postscreen_cache_map
postscreen_cache_map = $default_cache_db_type:$data_directory/postscreen_cache

mail> postconf | grep default_cache_db_type
default_cache_db_type = btree

mail> ls -al /var/db/postfix/*
-rw-------  1 postfix wheel     33 Jul  6 08:13 /var/db/postfix/master.lock
-rw-------  1 postfix wheel 131072 Jul  6 03:25 /var/db/postfix/postscreen_cache.db
-rw-------  1 postfix wheel   1024 Jul  6 08:45 /var/db/postfix/prng_exch
-rw-r--r--  1 postfix wheel  24576 Jul  6 05:00 /var/db/postfix/verify_cache.db

> I just converted to Almalinux 10 and with that from Berkley to lmdb.  The lmdb 1.0 update for AL10 hasn't happened, yet. I'm concerned about the best path to take for what db to plan on now.  Without having to patch and compile a solution.  Anxious to see what others do here.

I am quite confident that Wietse will come up with a solution for both lmdb versions in the future.

Until then I will stick with cdb for my static tables and leave default_cache_db_type at its default.

Regards,
Michael

_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]