[GF-Users] Postfix 3.11.xx lmdb support by default for Enterprise Linux 10?

Peter peter at pajamian.dhs.org
Fri May 15 19:36:56 MST 2026


Berkley DB is no longer supported in EL10 stock versions of postfix 
because RHEL 10 does not ship libdb anymore.  This has, however been 
picked up by EPEL for EL10 and since GhettoForge lists as a requirement 
that EPEL be enabled it is not an issue for the GhettoForge packages to 
continue to be built with Berkley DB support for the foreseeable future 
and as such it makes sense for this support to continue to be maintained.

As far as having postfix3-lmdb as a separate package, this has always 
been the case ever since the postfix codebase added the support for 
dynamically loadable map types way back in version 3.0 and even the 
RHEL10 postfix packages continue to package postfix-lmdb as a separate 
package.  This makes sense because it eliminates the need to install 
extra dynamic libraries in cases where they will not be used and thus 
avoid unnecessary bloat.

With the Ghettoforge packages you can continue to use Berkley DB if you 
want in EL10 or you can certainly switch to using lmdb simply by 
installing the postfix3-lmdb package and following the Postfix 
Non-Berkeley-DB migration guide at 
https://www.postfix.org/NON_BERKELEYDB_README.html.

As a side note, postfix does not currently support berkley db as a 
dynamically loadable map which is why it is statically compiled into the 
source and does not have a postfix3-bdb package to install for it. 
There has been discussion on the list of adding dynamic map support for 
berkley db in postfix and I believe it is now in the postfix 3.12 
development release slated for early next year.  The plan for 
Ghettoforge is to continue to statically compile it for for EL<=10 and 
dynamically build bdb support going forward for EL11+ in the future, 
this will maintain backwards compatibility in existing EL releases.


Peter


On 16/05/2026 08:33, luca-ml at vom-bruch.org wrote:
> Hello,
> 
> Personally I am still on Alma 9.7 which still has Berkeley DB (hash:
> support in Postifx).
> 
> However this is being deprecated and has been in EL10 and derivatives.
> 
> https://www.postfix.org/announcements/postfix-3.11.0.html
> 
> Quote:
> 
> Berkeley DB migration:
> 
> Some (Linux) distributions are removing support for BerkeleyDB databases
> (In Postfix, this means we lose support for the hash: and btree: lookup
> tables). See NON_BERKELEYDB_README for manual and partially automatic
> migration from btree: to lmdb:, and from hash: to lmdb: or cdb:.
> 
> The loss of BerkeleyDB affects Mailman versions that want to execute
> commands like "postmap hash:/path/to/file" when a mailing list is added
> or removed. Postfix provides a way to redirect such commands to a
> supported database type.
> 
> You don't have to wait until BerkeleyDB support is removed. It can make
> sense to migrate while BerkeleyDB support is still available (mainly,
> less downtime).
> 
> I know ghettoforge has a postfix3-lmdb package for support, which makes
> sense for me on alma 9 but why is it not the default in EL10 packages of
> ghettoforge?
> 
> I think the default package for postfix3 in EL10 Repo should already
> have lmdb and not require a separate package as it will be the standard
> anyway.
> 
> I assume the stock package of EL10 with 3.8.5 comes with lmdb support
> out of the box also.
> 
> Just an idea, thoughts?
> 
> Luca
> _______________________________________________
> users mailing list
> users at lists.ghettoforge.net
> http://lists.ghettoforge.net/mailman/listinfo/users



More information about the users mailing list