diff options
author | Micah <micah@leap.se> | 2016-05-24 10:19:37 -0400 |
---|---|---|
committer | Micah <micah@leap.se> | 2016-05-24 10:19:37 -0400 |
commit | 6570cad05280d8fc9c9c22a403e1dc234ca6ab25 (patch) | |
tree | dee9a339b1a6865cb488f434ac828e27101ca4bb /templates/anonsasl_header_checks.erb |
Squashed 'puppet/modules/postfix/' content from commit cce918f
git-subtree-dir: puppet/modules/postfix
git-subtree-split: cce918f784ebf8a8875f43c79bc3a1f39ab9456b
Diffstat (limited to 'templates/anonsasl_header_checks.erb')
-rw-r--r-- | templates/anonsasl_header_checks.erb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/anonsasl_header_checks.erb b/templates/anonsasl_header_checks.erb new file mode 100644 index 00000000..bca59146 --- /dev/null +++ b/templates/anonsasl_header_checks.erb @@ -0,0 +1,2 @@ +/^Received: from (.* \([-._[:alnum:]]+ \[[.[:digit:]]{7,15}\]\)).*?([[:space:]]+).*\(Authenticated sender: ([^)]+)\).*by (<%= fqdn.gsub(/\./, '\.') %>) \(([^)]+)\) with (E?SMTPS?A?) id ([A-F[:digit:]]+).*/ + REPLACE Received: from [127.0.0.1] (localhost [127.0.0.1])$2(Authenticated sender: $3)${2}with $6 id $7 |