Eray Aslan via Postfix-users:
> On Fri, Aug 14, 2026 at 12:56:26PM -0400, Wietse Venema via Postfix-users 
> wrote:
> > Gerard Seibert via Postfix-users:
> > > I rarely post on this forum. I am presently using FreeBSD 14.4-p8. As
> > > you probably know, a serious problem has occurred with several pots
> > > due to the change to LMDB. Has a solution been found for that problem?
> > 
> > Again? I thought this was fixed a few weeks ago.
> 
> The LMDB-1.0.0 mdb_drop regression is fixed. However, upgrading to
> LMDB-1.0.1 is still problematic:
> 
> postfix/submission/smtpd[143471]: error: open database
> /etc/mail/aliases.lmdb: MDB_INVALID: File is not an LMDB file
> 
> Basically, one has to recreate all the LMDB files as LMDB-1.0.1 does not
> operate on LMDB-0.9 files by design.
> 
> Any chance of help from postfix for the data migration from LMDB-0.9 to
> LMDB-1.0 format? Candidates for migration come from the same places
> NONBERKELEYDB_README uses. This can be handled at the distro level but
> still feels like solving it for everyone seems like something that can
> be considered.

You can find most if not all LMDB databases with:

    (postconf -xh; postconf -xPh) | pr -te | tr -s ' ,{}' '\12' | grep lmdb

Databases managed by the postscreen and verify daemons should be
deleted. They will be re-created over time. These files are typically
in the data_directory. You'll find them with:

    ...the above command... | grep `postconf -xh data_directory`

Databases managed with postmap or postalias must be re-indexed.
These files are typically in /etc/postfix. You'll find them with

    ...the above command... | grep -v `postconf -xh data_directory`

A more precise implementation is not possible on short notice.

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

Reply via email to