Skip to content

Commit e38b597

Browse files
author
adminadmin
committed
also match the closing paren and update the readme
1 parent 434532f commit e38b597

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This plugin parses the "Received" header for the last hop and checks if TLS was
55
receiving MTA.
66

77
In Postfix this can be enabled by
8-
setting [`smtpd_tls_received_header = yes`](https://www.postfix.org/postconf.5.html#smtpd_tls_received_header). Sendmail
8+
setting [`smtpd_tls_received_header = yes`](https://www.postfix.org/postconf.5.html#smtpd_tls_received_header). Sendmail and Stalwart
99
should work out of the box. Other MTAs have not been explicitly tested.
1010

1111
Note that while this talks about "encryption", this does not imply security. An encrypted mail may still be insecure,

tls_icon.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
class tls_icon extends rcube_plugin
44
{
5-
const POSTFIX_TLS_REGEX = "/\(using (TLS[^()]+(?:\([^)]+\))?)/im";
5+
const POSTFIX_TLS_REGEX = "/\(using (TLS[^()]+(?:\([^)]+\))?)\)/im";
66
const POSTFIX_LOCAL_REGEX = "/\([a-zA-Z]*, from userid [0-9]*\)/im";
77
const SENDMAIL_TLS_REGEX = "/\(version=(TLS.*)\)(\s+for|;)/im";
88

0 commit comments

Comments
 (0)