> I am having the exact same issue on both debian and ubuntu, with both 
> deb/ubuntu amavis and the vanilla one. It always says it failed to parse 
> the queue id.  I have tried 2.6.1 and 2.6.2. I am willing to setup a 
> virtual machine for you to try it out if you'd like.
>   
Try the attached patch? this is against amavis-policyd.pm

Regards
Nigel
Index: contrib/amavisd-new/amavisd-policyd.pm
===================================================================
--- contrib/amavisd-new/amavisd-policyd.pm	(revision 424)
+++ contrib/amavisd-new/amavisd-policyd.pm	(working copy)
@@ -139,7 +139,7 @@
 	do_log(5,"policyd/process_policy: Starting");
 	
 	# Get message ID
-	my $lastReceived = $msginfo->orig_header_fields->{'received'};
+	my (undef,undef,$lastReceived) = $msginfo->get_header_field('received');
 	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;

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to