On 2023-05-03 12:59, Per Jessen wrote:
Carlos E. R. wrote:
On 2023-05-03 12:31, Per Jessen wrote:
No, lmdb is fine, if that's what they want.
It is entirely up to you, "they" don't count :-) I have switched a number of systems back to bdb, so I wouldn't have to worry about having different database formats.
Going back means editing main.cf again.
You just install "postfix-bdb" and it is all done for you.
But the main.cf file lists lmdb entries: Isengard:/etc/postfix # postconf -p | grep lmdb address_verify_map = lmdb:$data_directory/verify_cache alias_database = lmdb:/etc/aliases alias_maps = lmdb:/etc/aliases canonical_maps = lmdb:/etc/postfix/canonical default_database_type = lmdb lmdb_map_size = 16777216 postscreen_cache_map = lmdb:$data_directory/postscreen_cache relay_domains = $mydestination, lmdb:/etc/postfix/relay relocated_maps = lmdb:/etc/postfix/relocated sender_canonical_maps = lmdb:/etc/postfix/sender_canonical sender_dependent_relayhost_maps = lmdb:/etc/postfix/sender_relayhost smtp_sasl_password_maps = lmdb:/etc/postfix/sasl_passwd smtpd_sender_restrictions = lmdb:/etc/postfix/access transport_maps = lmdb:/etc/postfix/transport virtual_alias_domains = lmdb:/etc/postfix/virtual virtual_alias_maps = lmdb:/etc/postfix/virtual Isengard:/etc/postfix # I would have to change all those, and then on the next upgrade they could be changed again. lmdb is fine, I don't care which is used. I just want to be told of these changes. Hum: There is an automatic script: <https://bugzilla.opensuse.org/show_bug.cgi?id=1197041> Bug 1197041 - Postfix on start don't run postalias /etc/postfix/aliases (error open database /etc/postfix/aliases.lmdb). «Arjen de Korte 2022-03-14 18:58:00 UTC This is easily fixed by adding 'aliases' to the POSTFIX_MAP_LIST in /etc/sysconfig/postfix, which is intended to keep the maps in /etc/postfix updated. No need to change the script and make this change unconditional.» (script /usr/lib/postfix/systemd/update_postmaps) That config contains: POSTFIX_MAP_LIST="virtual transport access canonical sender_canonical relocated sasl_passwd:600 relay_ccerts relay" As that script lives in a systemd directory there is probably some service that uses this somewhere.
Is there something that is creating and updating the lmdb files each time I update the text file?
No and there never has been. Postfix will warn you when a database file is older than the source.
Ok, good. [...] No, see above (written later than this "good").
Or was this a one time run of "something" that did the conversion silently when I upgraded Leap,
Yes, it is a postinstall script in 'postfix' (the package).
Should be in the release notes. Creating a bugzilla. [...] Done. <https://bugzilla.opensuse.org/show_bug.cgi?id=1211053> Bug 1211053 - Release notes for 15.4 do not mention that postfix has changed to lmdb (edit)
and from that point on, I am on my own and have to do my own conversions?
No, you just carry on using "postmap" as you always have.
Ok, I just updated my Makefile to generate them all when needed as lmdb. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)