On Wed, Jan 24, 2024 at 11:17:16AM -0500, Viktor Dukhovni via Postfix-users 
wrote:

> > > 2) The leapp output mentions a compatibility option.  I think I need to
> > > use that.  Is there documentation on it?
> 
>     https://www.postfix.org/postconf.5.html#compatibility_level
>     https://www.postfix.org/COMPATIBILITY_README.html

The native compatibility level for Postfix 3.0 through 3.5 is "2".  But
the parameter defaults to "0".  You need to explicitly set it to "2",
once you've either accepted the new defaults, or chosen explicit
overrides.

    main.cf:
        compatibility_level = 2
        # Set non-default values for any of the below, only as-needed.
        # append_dot_mydomain = ???
        # mynetworks_style = ???
        # smtpd_relay_restrictions = ???
        # relay_domains = ???
        # ?smtputf8_enable = ???

In Postfix 3.6 the syntax changed and it became "3.6", which is still
the level in the latest 3.9 snapshots.  There are very few parameters
whose defaults changed incompatibly.  The current list is:

    append_dot_mydomain = ${{$compatibility_level} <level {1} ? {yes} : {no}}
    mynetworks_style = ${{$compatibility_level} <level {2} ? {subnet} : {host}}

    smtpd_relay_restrictions = ${{$compatibility_level} <level {1} ? {} : 
{permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination}}
    relay_domains = ${{$compatibility_level} <level {2} ? {$mydestination} : {}}
    smtpd_relay_before_recipient_restrictions = ${{$compatibility_level} <level 
{3.6} ? {no} : {yes}}

    smtp_tls_fingerprint_digest = ${{$compatibility_level} <level {3.6} ? {md5} 
: {sha256}}
    lmtp_tls_fingerprint_digest = ${{$compatibility_level} <level {3.6} ? {md5} 
: {sha256}}
    smtpd_tls_fingerprint_digest = ${{$compatibility_level} <level {3.6} ? 
{md5} : {sha256}}

    smtputf8_enable = ${{$compatibility_level} <level {1} ? {no} : {yes}}

    respectful_logging = ${{$compatibility_level} <level {3.6} ? {no} : {yes}}

-- 
    Viktor.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to