summaryrefslogtreecommitdiffstats
path: root/roles/MSA
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2017-06-06 13:32:45 +0200
committerGuilhem Moulin <guilhem@fripost.org>2017-06-06 13:32:45 +0200
commit4c60cd07f1c5295d3611601db3c658f0eadfad87 (patch)
tree91ee9bc9991fa81ee51b8b56a6c2d49acd4f46ef /roles/MSA
parentc8da650022bdf56cae59c3e41733742829e0f049 (diff)
postfix-msa: anonymize SASL-authenticated senders using IPv6.
Diffstat (limited to 'roles/MSA')
-rw-r--r--roles/MSA/files/etc/postfix/anonymize_sender.pcre2
1 files changed, 1 insertions, 1 deletions
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