On Friday 20 March 2009, Nigel Kukard wrote:
> > I did a diff to check out the difference between Debian and vanilla
> > Amavis 2.6.1 and it looks like it is about the Debian way of reading the
> > config files. The patch looks like it worked. See the patched Debian
> > amavisd-new snippet:
> >
> > 9720 my($bypassed_b) = lookup(0,$recip,
> > @{ca('bypass_banned_checks_maps')});
> > 9721 $r->bypass_banned_checks($bypassed_b);
> > 9722 }
> > 9723 if (!$r->bypass_spam_checks) {
> > 9724 my($bypassed_s) = lookup(0,$recip,
> > @{ca('bypass_spam_checks_maps')});
> > 9725 $r->bypass_spam_checks($bypassed_s);
> > 9726 }
> > 9727 }
> > 9728
> > 9729 # Check if we need to do last minute policy changes
> > 9730 if (ref $custom_object) {
> > 9731 $which_section = "custom-process_policy";
> > 9732 eval {
> > 9733 my $new_policy_bank = $custom_object->process_policy($conn,
> > $msginfo,\%current_policy_bank); 1;
> > 9734 %current_policy_bank = %{ $new_policy_bank };
> > 9735 } or do {
> >
> > Compare the the patch file:
> >
> > 16 @@ -9705,6 +9706,20 @@
> > 17 $r->bypass_spam_checks($bypassed_s);
> > 18 }
> > 19 }
> > 20 +
> > 21 + # Check if we need to do last minute policy changes
> > 22 + if (ref $custom_object) {
> > 23 + $which_section = "custom-process_policy";
> > 24 + eval {
>
> Only vanilla Amavisd-new is supported. You can try use another modified
> version, but I'm not going to entertain any bug reports.
I installed vanilla amavisd from amavisd-new-2.6.1.tar.gz and still get the
same error:
Mar 23 14:09:51 smailx amavis[30222]: (30222-02) (!)policyd/process_policy:
Failed to parse in queue id from received line '1'
I enabled --debug on cbpolicyd and ran it in the foreground:
[2009/03/23-14:09:49 - 9423] [CORE] INFO: Starting "1" children
[2009/03/23-14:09:49 - 9434] [CORE] INFO: 2009/03/23-14:09:49 CONNECT TCP Peer:
"127.0.0.1:50715" Local: "127.0.0.1:10031"
[2009/03/23-14:09:49 - 12261] [CORE] DEBUG: Child Preforked (12261)
[2009/03/23-14:09:49 - 12261] [CBPOLICYD] DEBUG: Starting up caching engine
[2009/03/23-14:09:49 - 9434] [POLICIES] INFO: [ID:1/Name:Default]: Source
matching result: matched=1
[2009/03/23-14:09:49 - 9434] [POLICIES] INFO: [ID:2/Name:Default Outbound]:
Source matching result: matched=1
[2009/03/23-14:09:49 - 9434] [POLICIES] INFO: [ID:3/Name:Default Inbound]:
Source matching result: matched=0
[2009/03/23-14:09:49 - 9434] [POLICIES] INFO: [ID:4/Name:Default Internal]:
Source matching result: matched=0
[2009/03/23-14:09:49 - 9434] [POLICIES] INFO: [ID:5/Name:kosmosisland dot com]:
Source matching result: matched=1
[2009/03/23-14:09:49 - 9434] [POLICIES] DEBUG: [ID:5/Name:kosmosisland dot
com]=>(group:domain_kosmosisland_com): Destination group result: matched=1
[2009/03/23-14:09:50 - 9437] [CORE] INFO: 2009/03/23-14:09:50 CONNECT TCP Peer:
"127.0.0.1:50716" Local: "127.0.0.1:10031"
[2009/03/23-14:10:30 - 9423] [CORE] INFO: Killing "1" children
[2009/03/23-14:10:30 - 9436] [CBPOLICYD] DEBUG: Shutting down caching engine
(9436)
My cluebringer.conf is in an earlier post in this thread.
Regards,
David Koski
[email protected]
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users