Alex Regan:
> Hi,
> 
> >> I've upgraded from postfix-2.10.5 on fedora20 to postfix-3.0.1 on
> >> fedora22 and receiving the backwards-compatibility warning. I've checked
> >> all of the settings on the COMPATIBILITY_README page, and adjusted the
> >> relay_domains setting, which was the only one that applied to my config.
> >>
> >> I'm still receiving the compatibility warning and hoped someone could
> >> review my config to help me determine which one is still trigging the
> >> compat warning?
> >
> > In COMPATIBILITY_README, See the section "Turning off the
> > backwards-compatibility safety net".
> 
> I was hoping there was a more precise way to locate which option is 
> apparently triggering the compatibility warning?

To give one example, you see the following warning:

    postfix/trivial-rewrite[14777]: using backwards-compatible
        default setting append_dot_mydomain=yes to rewrite
        "localhost" to "localhost.example.com"; please add
        "localhost" to mydestination or other address class

because:

1) the compatibility_level is not set to 2, 

2) AND you haven't explicitly specified append_dot_mydomain,

3) AND the append_dot_mydomain built-in default setting has changed,

4) AND your system appears to depend the old setting.

Ditto for any of the other parameters whose built-in default setting
has changed, and whose old default setting appears to be depended on.

> I understand that I can suppress the warning, but wouldn't the preferred 
> method be to configure it with the current options?

You see the above warning because your system appears to rely on
the old default setting, so you might want to explicitly set that
parameter before setting compatibility_level=2.

        Wietse

Reply via email to