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
Thanks for the patch.