Menu

#95 upcoming postfix 3.11 will break postfix script regarding smtp client logging

v7.13
closed-accepted
nobody
None
5
2025-12-01
2025-11-20
No

Hi,

the upcoming postfix 3.11 version will break the postfix service script with regard to all log lines of the smtp client: https://www.postfix.org/postconf.5.html#smtp_log_tls_feature_status

This patch will deal with this breakage, by:

1) enable $reDDD to detect those TLS feature informations (tls=), if logged.
2) adding (tls=...) to the domainpart, if found.
3) this will happen in the "### sent, forwarded, bounced, softbounce, deferred, (un)deliverable" section, only

I have testet both original and patched postfix script against 360 logfiles of mine with postfix 3.10 logging. Both reports are identical. Thus, I am confident that this patch will not break logwatch reports with postfix <= 3.10 and 3.11 with disabled smtp_log_tls_feature_status.

The default 3.11 smtp_log_tls_feature_status=yes setting will produce postfix script output like:

1   Sent via SMTP --------------------------------- [ sent ] -
        1      example.org (tls=may)
        1         mailboxname

I hope this patch can make it in the upcoming release mid January.

Thanks and regards,
Michael

1 Attachments

Discussion

  • Bjorn

    Bjorn - 2025-12-01
    • status: open --> closed-accepted
     
  • Bjorn

    Bjorn - 2025-12-01

    Thanks for the patch.

     

Log in to post a comment.

MongoDB Logo MongoDB