Viktor Dukhovni: > On Wed, Jan 29, 2014 at 09:42:00PM -0500, Wietse Venema wrote: > > > > If postconf(1) is the same version of Postfix as smtp(8), then you > > > check with "postconf smtp_tls_loglevel". This parameter is not > > > defined when TLS support is not available. > > > > All TLS (and SASL) parameters are defined whether or not the feature > > is compiled in. However, the SMTP client and server will log warning > > when the feature is turned on. > > Yes, I neglected to check whether parameters that are conditionally > compiled into smtp(8) and friends are also conditionally compiled > into postconf(1). It seems that nowdays, postconf picks up all > parameters even for features disabled at compile time. Was it > always this way? I have dim memories of seeing fewer parameters > from "postconf -d" in some long ago release when compiling without > TLS support.
Yes, this has always worked this way. Just like the postconf(5) manpage shows all parameters even when the corresponding features are not built into Postfix. > You should also have warnings in the logs: > > TLS has been selected, but TLS support is not compiled in > > when TLS is enabled in main.cf (even when site-dependent), but smtp(8) > is not compiled with TLS support. That warning dates back to > postfix-2.2-20050119. That's around the time that TLS was merged into Postfix. Wietse