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

* Add more debugging info to amavisd module so we can catch the received line if its not parsable

parent 360c5940
......@@ -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]+)/)) {
do_log(-1,"policyd/process_policy: Failed to parse in queue id from received line");
do_log(-1,"policyd/process_policy: Failed to parse in queue id from received line '$lastReceived'");
return $pbn;
}
my $queueID = $1;
......
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