On Thu, Sep 23, 2021 at 01:19:57PM -0400, David Mandelberg wrote:

> Is lmtp_tls_wrappermode safe to use even though it's not documented? 

Yes, it is safe to use.  The SMTP and LMTP client code Postfix is
largely a single code base that implements both protocols, with only
minor differences (no MX lookups for LMTP, LHLO vs. EHLO and
per-recipient status replies after ".").

Otherwise, LMTP and SMTP have the same feature set, all SMTP TLS
features are also LMTP TLS features.

> Should it be documented?

Yes, the parameter should have been included in postconf(5).

-- 
        Viktor.

--- a/mantools/postlink
+++ b/mantools/postlink
@@ -270,6 +270,7 @@ while (<>) {
     s;\blmtp_tls_loglevel\b;<a 
href="postconf.5.html#lmtp_tls_loglevel">$&</a>;g;
     s;\blmtp_tls_session_cache_database\b;<a 
href="postconf.5.html#lmtp_tls_session_cache_database">$&</a>;g;
     s;\blmtp_tls_session_cache_timeout\b;<a 
href="postconf.5.html#lmtp_tls_session_cache_timeout">$&</a>;g;
+    s;\blmtp_tls_wrappermode\b;<a 
href="postconf.5.html#lmtp_tls_wrappermode">$&</a>;g;
     s;\blmtp_generic_maps\b;<a 
href="postconf.5.html#lmtp_generic_maps">$&</a>;g;
     s;\blmtp_pix_workaround_threshold_time\b;<a 
href="postconf.5.html#lmtp_pix_workaround_threshold_time">$&</a>;g;
     s;\blmtp_pix_workaround_delay_time\b;<a 
href="postconf.5.html#lmtp_pix_workaround_delay_time">$&</a>;g;
--- a/proto/postconf.proto
+++ b/proto/postconf.proto
@@ -16925,6 +16925,13 @@ Postfix versions. </p>
 
 <p> This feature is available in Postfix 3.0 and later.  </p>
 
+%PARAM lmtp_tls_wrappermode no
+
+<p> The LMTP-specific version of the smtp_tls_wrappermode configuration
+parameter. See there for details. </p>
+
+<p> This feature is available in Postfix 3.0 and later. </p>
+
 %PARAM smtp_tls_connection_reuse no
 
 <p> Try to make multiple deliveries per TLS-encrypted connection.

Reply via email to