aboutsummaryrefslogtreecommitdiff
path: root/templates/anonsasl_header_checks.erb
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-06-18 09:27:29 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-06-18 09:27:29 -0300
commit8734feea565a6679840a755e6399ad3fb87b7d2c (patch)
tree1d2d957756a610eaaf882c459e86b0ee2b5dd278 /templates/anonsasl_header_checks.erb
parentc38a65d0c8565ebe3d22a72c396f233929b93287 (diff)
downloadpuppet-postfix-8734feea565a6679840a755e6399ad3fb87b7d2c.tar.gz
puppet-postfix-8734feea565a6679840a755e6399ad3fb87b7d2c.tar.bz2
Fix deprecation
Diffstat (limited to 'templates/anonsasl_header_checks.erb')
-rw-r--r--templates/anonsasl_header_checks.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/anonsasl_header_checks.erb b/templates/anonsasl_header_checks.erb
index bca5914..2303d58 100644
--- a/templates/anonsasl_header_checks.erb
+++ b/templates/anonsasl_header_checks.erb
@@ -1,2 +1,2 @@
-/^Received: from (.* \([-._[:alnum:]]+ \[[.[:digit:]]{7,15}\]\)).*?([[:space:]]+).*\(Authenticated sender: ([^)]+)\).*by (<%= fqdn.gsub(/\./, '\.') %>) \(([^)]+)\) with (E?SMTPS?A?) id ([A-F[:digit:]]+).*/
+/^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