Postfix 3.9.0-1 - Breaking changes

Problems with packages? Post here, using [tags] of the package name.

Postfix 3.9.0-1 - Breaking changes

Postby technosf » Sun Apr 21, 2024 5:27 pm

Noticed email dried up since early April - looking in the Postfix log file there are errors looking for BTREEs and HASHs table types which kills delivery.

postfix 3.9.0-1 went in on or around 2024-04-09 and along with it new package postfix-lmdb

Looks like postfix no longer had BDB or btree compiled in and, implicitly lmdb is the way to go.

Researching...
[size=85] MochaBin 5G || NSA325 [/size]
technosf
 
Posts: 133
Joined: Sat Jan 08, 2011 10:54 pm

Re: Postfix 3.9.0-1 - Breaking changes

Postby karog » Sun Apr 21, 2024 5:32 pm

Yes, this was described when installed. Here is the section from my pacman.log

[2024-04-08T08:37:47-0400] [ALPM] installed postfix-lmdb (3.9.0-1)
[2024-04-08T08:37:48-0400] [ALPM] warning: /etc/postfix/aliases installed as /etc/postfix/aliases.pacnew
[2024-04-08T08:37:48-0400] [ALPM] warning: /etc/postfix/main.cf installed as /etc/postfix/main.cf.pacnew
[2024-04-08T08:37:48-0400] [ALPM] warning: /etc/postfix/virtual installed as /etc/postfix/virtual.pacnew
[2024-04-08T08:37:48-0400] [ALPM] upgraded postfix (3.8.6-1 -> 3.9.0-1)
[2024-04-08T08:37:48-0400] [ALPM-SCRIPTLET] WARNING: Support for BDB hash: and btree: database types has been removed, the default database type is now lmdb.
[2024-04-08T08:37:48-0400] [ALPM-SCRIPTLET] Please update your main.cf configuration accordingly, and use postmap to convert existing databases.
karog
 
Posts: 301
Joined: Thu Jan 05, 2012 7:55 pm

Re: Postfix 3.9.0-1 - Breaking changes

Postby technosf » Sun Apr 21, 2024 6:43 pm

Remediation steps -
In main.cf:
hash:/filename -> lmdb:/filename
btree:/filename -> lmdb:/filename

And regen files with:
postmap lmdb:/sourcefile

and for aliases:
postalias lmdb:/aliasfile


Also some new deprecation warnings to be aware of.
[size=85] MochaBin 5G || NSA325 [/size]
technosf
 
Posts: 133
Joined: Sat Jan 08, 2011 10:54 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 3 guests