From 4c60cd07f1c5295d3611601db3c658f0eadfad87 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Tue, 6 Jun 2017 13:32:45 +0200 Subject: postfix-msa: anonymize SASL-authenticated senders using IPv6. --- roles/MSA/files/etc/postfix/anonymize_sender.pcre | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/MSA/files') diff --git a/roles/MSA/files/etc/postfix/anonymize_sender.pcre b/roles/MSA/files/etc/postfix/anonymize_sender.pcre index bd3d5f1..7c11f4e 100644 --- a/roles/MSA/files/etc/postfix/anonymize_sender.pcre +++ b/roles/MSA/files/etc/postfix/anonymize_sender.pcre @@ -1,4 +1,4 @@ -/^Received:\s+from\s+(?:\S+\s+\(\S+\s+\[[[:xdigit:].:]{3,39}\]\)) +/^Received:\s+from\s+(?:\S+\s+\(\S+\s+\[(?:IPv6:)?[[:xdigit:].:]{3,39}\]\)) (\s+\(using\s+(?:TLS|SSL)(?:v\S+)?\s+with\s+cipher\s+\S+\s+\(\S+\s+bits\)\)\s+).* (\bby\s+(?:\S+\.)?fripost\.org\s+\([^)]+\) \s+with\s+E?SMTPS?A\s+id\s+[[:xdigit:]]+;?\s.*)/x -- cgit v1.2.3