This causes the following :


Sep  8 10:20:01 darkblue amavis[547]: (00547-08)
(!)policyd/process_policy: Failed to parse in queue id from received line


This is with both mysql and postgresql. If you have any questions for
details, ask, and ill help with whatever i can.
Hrmmm .... this is a tough one. The amavisd-new plugin tries to get the message ID out of the received line to match up the mail with the record when it passed through policyd.

Can you try the attached patch and paste me the same line again.

Regards
Nigel
Index: contrib/amavisd-new/amavisd-policyd.pm
===================================================================
--- contrib/amavisd-new/amavisd-policyd.pm	(revision 311)
+++ contrib/amavisd-new/amavisd-policyd.pm	(working copy)
@@ -138,7 +138,7 @@
 	# 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;
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to