Skip to content

Conversation

@christiaangoossens
Copy link
Contributor

Current versions of Postfix also attach details about the key-exchange, server-signature and server-digest to the header, causing the plugin to display 'unencrypted' on TLS 1.3 messages.

This PR adds an additional test case for those messages and fixes the regex to work for Stalwart, Postfix TLS 1.2, Postfix TLS 1.3 (old test) and this new Postfix TLS 1.3 syntax.

Copy link
Collaborator

@williamdes williamdes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Owner

@GermanCoding GermanCoding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I knew about the new postfix logging, but I tested this back when 3.9 came out, and I swear the old regex worked with it. But yeah, I just checked again and it doesn't. Maybe we broke it somewhere in between, as we were missing the test for the new logging - thanks for that!

@GermanCoding GermanCoding merged commit 6896b72 into GermanCoding:master Sep 18, 2025
12 checks passed
@christiaangoossens christiaangoossens deleted the patch-tls-13-postfix branch September 18, 2025 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants