2009/3/24 Nigel Kukard <[email protected]>:
> I'm looking at line 142 in amavis-policyd.pm , your bug report did not
> have the the debug line in the right format.

These are the lines 140-144 from the unpatched amavisd-policyd.pm file
I got from the tar.bz2 download.

        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 '$lastReceived'");
                return $pbn;
        }

> Can you reproduce with the v2.0.6 version of amavis-policyd.pm and
> repaste the "Failed to parse in queue id" line?

Mar 24 15:30:08 gateway amavis[4411]: (04411-01)
(!)policyd/process_policy: Failed to parse in queue id from received
line '5'

Everything apart from the $lastReceived value looks right to me. Is it
possible amavisd-new isn't returning the correct information?

Thanks
Guy

-- 
Don't just do something...sit there!
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to