diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2013-12-02 23:39:26 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-07 02:51:10 +0200 |
commit | 1a50ad8f85ae7b42d7749b43d8f01adb663114ff (patch) | |
tree | 39ef587ae5efaafbe6895a6aee2602a6a81c6e0b /roles/MSA/files | |
parent | 9ff98e18e5dd6967bce1457cff1884ec632cf2b5 (diff) |
Configure the Mail Submission Agent.
Diffstat (limited to 'roles/MSA/files')
-rw-r--r-- | roles/MSA/files/etc/postfix/anonymize_sender.pcre | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/MSA/files/etc/postfix/anonymize_sender.pcre b/roles/MSA/files/etc/postfix/anonymize_sender.pcre new file mode 100644 index 0000000..bd3d5f1 --- /dev/null +++ b/roles/MSA/files/etc/postfix/anonymize_sender.pcre @@ -0,0 +1,7 @@ +/^Received:\s+from\s+(?:\S+\s+\(\S+\s+\[[[: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 + REPLACE Received: from [127.0.0.1] (localhost [127.0.0.1])${1}${2} + +/^X-Originating-IP:/ IGNORE |