Commit b20bba8d authored by Nigel Kukard's avatar Nigel Kukard
Browse files

* Add support for RFC3848 headers in amavis plugin

parent dd1d00c9
......@@ -138,7 +138,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