Vincent Lefevre:
[ Charset ISO-8859-1 converted... ]
> On 2021-07-27 01:13:41 -0400, Viktor Dukhovni wrote:
> > > You change to:
> > >
> > > smtpd_enforce_tls = no
> > > smtpd_use_tls = no
> > > smtpd_tls_security_level = may
> >
> > With "smtpd_tls_security_level = may" the obsolete legacy syntax
> > should simply not be used. Just remove the other two settings
> > entirely from the configuration.
>
> I have also noticed that on my server, I had "smtpd_use_tls = yes"
> from old configuration. But after removing it, the postconf output
> is changed to
>
> smtpd_use_tls = no
>
> Is this OK? Shouldn't obsolete parameters be dropped from the postconf
> output if not explicitly set by the user, in order to avoid confusion?
The default value is:
smtpd_use_tls = no
So when you delete smtpd_use_tls from main.cf, that is the value
that "postconf" without "-n" will show.
As documented (http://www.postfix.org/postconf.5.html#smtpd_use_tls),
This feature is available in Postfix 2.2 and later. With Postfix 2.3
and later use smtpd_tls_security_level instead.
Wietse
Wietse