figueroa Advocate
Joined: 14 Aug 2005 Posts: 3005 Location: Edge of marsh USA
|
Posted: Fri Aug 30, 2024 5:33 pm Post subject: Update Postfix to 3.9.0 config error |
|
|
After updating postfix, doing dispatch-conf and accepting the nominal default changes and restarting postfix, I run the command mailq and get the following errors back.
Code: | # mailq
mailq: warning: /etc/postfix/main.cf, line 742: overriding earlier entry: compatibility_level=3.9
postqueue: warning: /etc/postfix/main.cf, line 742: overriding earlier entry: compatibility_level=3.9
Mail queue is empty |
As noted in the error message, the uncorrected error was at line 742 in main.cf where it had been unchanged since version 3.6 and I'm sure the version number has been there for many years without issue.
Old value:
Code: | smtp_tls_session_cache_database = btree:/var/lib/postfix/smtp_scache
smtp_tls_security_level = may
smtp_tls_loglevel = 1
compatibility_level = 3.6 |
Manually edited:
Code: | smtp_tls_session_cache_database = btree:/var/lib/postfix/smtp_scache
smtp_tls_security_level = may
smtp_tls_loglevel = 1
compatibility_level = 3.9 |
I suspect the second compatibility_level entry is spurious. If I just comment it out, all seems well.
EDIT -- ADDED
Upon upgrading my second machine with postfix, I note that the "compatibility_level = 3.~" line has historically been commented out which is right according to the embedded instructions. However, dispatch-conf attempted to update the line and uncomment it, along with a couple of other changes. On this second machine, I just zapped the update. Commenting out that initial "compatibility_level" update appears to be a more correct choice for upgrades as opposed to new installs. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|