SA rules failed to run (__KAM_SPF_NONE)

sehh

Well-Known Member
Feb 11, 2006
579
6
168
Europe
Our spamd reports the following error over and over again (on every spawned child).

Code:
spamd[19358]: logger: removing stderr method
spamd[19362]: zoom: able to use 997/1003 'body_0' compiled rules (99.401%)
spamd[19362]: rules: failed to run __KAM_SPF_NONE test, skipping:
spamd[19362]:  (Can't locate object method "check_for_spf_none" via package "Mail: [...]:SpamAssassin::PerMsgStatus" at (eval 1764) line 1475.
spamd[19362]: )
Anyone seen this before? I tried "/scripts/restartsrv_spamd" and "/scripts/update_sa_rules" but there was no difference.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,229
463
Hello,

cPanel 58 includes resolutions aimed at preventing the high loads stemming from the "spamd" children, and SPF function related errors. Here's a summary of these cases from the cPanel 58 Change Log:

Fixed case CPANEL-6219: Ensure that SPF is always available in SpamAssassin.

Fixed case CPANEL-6218: Ensure SpamAssassin body rules get recompiled on update.
Fixed case CPANEL-6217: Fix perlcritic warnings in Cpanel::SpamAssassinSandBox.
Fixed case CPANEL-6217: Improve performance of hostname lookups for SpamAssassin.

In the meantime, the temporary workaround while on cPanel 56 is to disable the KAM ruleset, or to disable "Reject SPF Failures" via "WHM Home >> Service Configuration >> Exim Configuration Manager".

Thank you.