summaryrefslogtreecommitdiffstats
path: root/roles/MSA/files/etc/postfix
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2022-10-11 14:02:31 +0200
committerGuilhem Moulin <guilhem@fripost.org>2022-10-11 14:02:34 +0200
commitbcff69a1a65808d705a3abc4a730adca8a58a6b1 (patch)
tree01e3eb31a31289d36b8c8d69f05c9e352ad449f2 /roles/MSA/files/etc/postfix
parentd7a8e117b2595b2ba74cb5a7ba237ca18f36e1ab (diff)
postfix: Adjust anonymize_sender.pcre.
Diffstat (limited to 'roles/MSA/files/etc/postfix')
-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 162e6c1..b91b981 100644
--- a/roles/MSA/files/etc/postfix/anonymize_sender.pcre
+++ b/roles/MSA/files/etc/postfix/anonymize_sender.pcre
@@ -1,6 +1,6 @@
/^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+key-exchange\s+\S+\s+(?:\([^)]+\)\s+)?server-signature\s+\S+\s+\(\d+\s+bits\)\s+server-digest\s+\S+)?\)\s+).*
+ (?:\s+key-exchange\s+\S+\s+(?:\([^)]+\)\s+)?server-signature\s+\S+\s+\(\d+\s+bits\)(?:\s+server-[[:alnum:]]+\s+\S+)*)?\)\s+).*
(\bby\s+(?:\S+\.)?fripost\.org\s+\([^)]+\)
\s+with\s+E?SMTPS?A\s+id\s+[[:xdigit:]]+;?\s.*)/x
REPLACE Received: from [127.0.0.1] (localhost [127.0.0.1])${1}${2}