A. Schulze via Postfix-users:
> Hello,
> 
> I'm installing/running any postfix-3.10-* version in a lab environment.
> Till -20250103 the TLSRPT-part worked noiseless. But since -20250107
> something is broken. My TLSRPT reporting engine no longer receive any data 
> from postfix.
> If I disable the TLSRPT reporting engine, I not even see an error message
> "Could not report TLS handshake result to tlsrpt library: No such file or 
> directory"
> (but message transport works as usual)
> 
> The changelog from 
> http://ftp.porcupine.org/mirrors/postfix-release/index.html#non-pod
> say
> 
> 20250104
> 
>       Cleanup: the SMTP client complained about "missing
>       trw_set_tls_policy call" when a destination had a TLSRPT
>       policy, but TLS was disabled. File: smtp/smtp_connect.c.
> 
> looks like it may be related...

Well it did stop the warning message ;-(

This will be fixed in postfix-3.10-20250116. "TLS-Required: no"
support will be next.

        Wietse

diff -ur /var/tmp/postfix-3.10-20250105/src/smtp/smtp_connect.c 
src/smtp/smtp_connect.c
--- /var/tmp/postfix-3.10-20250105/src/smtp/smtp_connect.c      2025-01-05 
15:09:04.000000000 -0500
+++ src/smtp/smtp_connect.c     2025-01-16 15:10:54.789759185 -0500
@@ -921,7 +921,7 @@
         */
 #ifdef USE_TLSRPT
        if (smtp_mode && var_smtp_tlsrpt_enable
-           && state->tls->level > TLS_LEV_NONE
+           && tls_level_lookup(var_smtp_tls_level) > TLS_LEV_NONE
            && !valid_hostaddr(domain, DONT_GRIPE))
            smtp_tlsrpt_create_wrapper(state, domain);
        else
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to