----- Message from Viktor Dukhovni <postfix-us...@dukhovni.org> ---------
Date: Sun, 21 Mar 2021 21:15:36 -0400
From: Viktor Dukhovni <postfix-us...@dukhovni.org>
Reply-To: postfix-users@postfix.org
Subject: Re: upgrade 2.10 - 3.3 config compatibility
To: postfix-users@postfix.org
On Mon, Mar 22, 2021 at 10:17:16AM +1000, Simon Wilson wrote:
I've removed mynetworks_style based on improved knowledge as noted
above; commented out append_dot_mydomain and relay_domains, have set
compatibility_level to 0, and will monitor for messages.
The right compatibility level to set after you're comfortable with your
main.cf file is the one found in the stock main.cf file for the Postfix
version in question. With Postfix 3.5 that's "2".
Thanks Viktor, yes that is the plan from my reading and understanding.
Noting I'm on 3.3, although 2 is also in 3.3 stock main.cf.
I have temporarily set it at 0 after reading
http://www.postfix.org/COMPATIBILITY_README.html to ensure that I pick
up in logging if/when backwards-compatibility is triggered by the
legacy settings as follows (from
http://www.postfix.org/COMPATIBILITY_README.html):
Logged with compatibility_level < 1:
**Using backwards-compatible default setting append_dot_mydomain=yes**
Using backwards-compatible default setting chroot=y
Logged with compatibility_level < 2:
Using backwards-compatible default setting
"smtpd_relay_restrictions = (empty)"
Using backwards-compatible default setting mynetworks_style=subnet
**Using backwards-compatible default setting relay_domains=$mydestination**
Using backwards-compatible default setting smtputf8_enable=no
With the items I need to watch for (emphasis added ** **) that means I
need it to be less than 1. Once I am confident of the outcome I'll set
to 2.
Simon.
--
Simon Wilson
M: 0400 12 11 16