>>>> I used V1 for a long time and trying out V2 now.
>>>>
>>>> Installation went fine. Used the 2.0.8 rpm on a CentOS 5.3 box.
>>>> First test, after disabling "Access Control" and "Quotas" (which i don't
>>>> need) went just fine too.
>>>> But, as soon i have added and enabled a new "SPF Check" or "Greylisting
>>>> Check" the check of the mail fails with this error:
>>>>
>>>> [CBPOLICYD] ERROR: Error running module request_process(): Undefined
>>>> subroutine &cbp::protocols::PROTO_OK called at /us
>>>> r/lib/policyd-2.0/cbp/protocols/Postfix.pm line 126.
>>>>
>>>>     
>>>>         
>>> I faced the same issue.
>>> I downgraded to v2.0.7 and the problem was solved
>>>       
>> Busy trying to reproduce this on a clean install of CentOS.
>>
>> Could you detail where you got the dependencies from? I want to follow
>> as much as possible to one of you installation steps so I can get the
>> same results here and ultimately find out why this is occurring for you.
>>     
> I installed dependencies using perl CPAN shell.

Could you try to apply the attached patch to protocols.pm .

-N
--- ../../branches/v2.0.x/cbp/protocols.pm	2009-06-01 05:37:09.000000000 +0000
+++ protocols.pm	2009-06-28 17:06:52.000000000 +0000
@@ -59,13 +59,14 @@
 	CBP_SKIP => 2,
 
 	PROTO_PASS => 1,
-	PROTO_REJECT => 2,
-	PROTO_DEFER => 3,
-	PROTO_HOLD => 4,
-	PROTO_REDIRECT => 5,
-	PROTO_DISCARD => 6,
-	PROTO_FILTER => 7,
-	PROTO_PREPEND => 8,
+	PROTO_OK => 2,
+	PROTO_REJECT => 3,
+	PROTO_DEFER => 4,
+	PROTO_HOLD => 5,
+	PROTO_REDIRECT => 6,
+	PROTO_DISCARD => 7,
+	PROTO_FILTER => 8,
+	PROTO_PREPEND => 9,
 	
 	# Errors
 	PROTO_ERROR => -1001,

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to