Commit 0f499066 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

* Add support for RFC3848 headers in amavis plugin

parent b2790de1
......@@ -140,7 +140,7 @@ sub process_policy {
# Get message ID
my $lastReceived = $msginfo->orig_header_fields->{'received'};
if (!($lastReceived =~ /with E?SMTP id ([0-9A-Z]+)/)) {
if (!($lastReceived =~ /with E?SMTPS?A? id ([0-9A-Z]+)/)) {
do_log(-1,"policyd/process_policy: Failed to parse in queue id from received line '$lastReceived'");
return $pbn;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment