You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Richard Mealing <ri...@fastnet.co.uk> on 2016/04/25 13:43:07 UTC

KAM error?

Hi everyone,

I'm seeing this a bit on google, but I'm not quite sure of the fix.

Apr 25 12:41:21.264 [49367] warn: rules: failed to run __KAM_SPF_NONE test, skipping:
Apr 25 12:41:21.264 [49367] warn:  (Can't locate object method "check_for_spf_none" via package "Mail: [...]:SpamAssassin::PerMsgStatus" at (eval 2219) line 825.
Apr 25 12:41:21.264 [49367] warn: )
Apr 25 12:41:23.300 [49367] warn: lint: 1 issues detected, please rerun with debug enabled for more information

Could someone point me to a link or something as I would really quite like to use KAM if possible. Or should I not be using it?

Thanks,
Rich

RE: KAM error?

Posted by Richard Mealing <ri...@fastnet.co.uk>.


-----Original Message-----
From: RW [mailto:rwmaillists@googlemail.com] 
Sent: 25 April 2016 13:13
To: users@spamassassin.apache.org
Subject: Re: KAM error?

On Mon, 25 Apr 2016 11:43:07 +0000
Richard Mealing wrote:

> Hi everyone,
> 
> I'm seeing this a bit on google, but I'm not quite sure of the fix.

on Google?

- Yes apologies I was searching for this error on google and could not find much - only reinstall spamassassin!

> Apr 25 12:41:21.264 [49367] warn: rules: failed to run __KAM_SPF_NONE 
> test, skipping: Apr 25 12:41:21.264 [49367] warn:  (Can't locate 
> object method "check_for_spf_none" via package "Mail:
> [...]:SpamAssassin::PerMsgStatus" at (eval 2219) line 825. Apr 25
> 12:41:21.264 [49367] warn: ) Apr 25 12:41:23.300 [49367] warn: lint:
> 1 issues detected, please rerun with debug enabled for more 
> information
> 
> Could someone point me to a link or something as I would really quite 
> like to use KAM if possible. Or should I not be using it?


__KAM_SPF_NONE is just a duplicate of the ordinary rule SPF_NONE.

The first thing I'd do is run spamassassin --lint and see what the the error is. 

- Thanks. That was actually a --lint. I was am using a milter on my mta to check for SPF, then using a header rule in SA which broke this, so I have now disabled that and it seems to be working! I have another question though - 

How often does KAM.cf get updated? Last I can see is March 30th. I'm just wondering if I should add something to cron say once per month?

Thanks,
Rich

Re: KAM error?

Posted by RW <rw...@googlemail.com>.
On Mon, 25 Apr 2016 11:43:07 +0000
Richard Mealing wrote:

> Hi everyone,
> 
> I'm seeing this a bit on google, but I'm not quite sure of the fix.

on Google?

> Apr 25 12:41:21.264 [49367] warn: rules: failed to run __KAM_SPF_NONE
> test, skipping: Apr 25 12:41:21.264 [49367] warn:  (Can't locate
> object method "check_for_spf_none" via package "Mail:
> [...]:SpamAssassin::PerMsgStatus" at (eval 2219) line 825. Apr 25
> 12:41:21.264 [49367] warn: ) Apr 25 12:41:23.300 [49367] warn: lint:
> 1 issues detected, please rerun with debug enabled for more
> information
> 
> Could someone point me to a link or something as I would really quite
> like to use KAM if possible. Or should I not be using it?


__KAM_SPF_NONE is just a duplicate of the ordinary rule SPF_NONE.

The first thing I'd do is run spamassassin --lint and see what the the
error is.