warn: config: failed to parse line, skipping pyzor_options
I noticed that SA produced an error in the logs and manually running "spamassassin --lint" also produces the same error (thus, commands like sa-compile fail to run).
The error is:
The offending line seems to be:
Since this is something put there by cPanel itself, I'm reluctant to remove it. This is on a system with latest cPanel, no custom modifications and daily updates enabled. Any suggestions please? Thank you.
warn: config: failed to parse line, skipping, in "/etc/mail/spamassassin/local.cf": pyzor_options --homedir /etc/mail/spamassassin
warn: lint: 1 issues detected, please rerun with debug enabled for more information
The offending line seems to be:
pyzor_options --homedir /etc/mail/spamassassin # Autoconfigured by cPanel - comment out this line to avoid future updates
Since this is something put there by cPanel itself, I'm reluctant to remove it. This is on a system with latest cPanel, no custom modifications and daily updates enabled. Any suggestions please? Thank you.
-
*update* this is weird, since I've got multiple servers with cPanel, I run spamassassin --lint on another one and that has also a broken config but with a different error: warn: rules: failed to run __KAM_SPF_NONE test, skipping: warn: (Can't locate object method "check_for_spf_none" via package "Mail: [...]:SpamAssassin::PerMsgStatus" at (eval 1839) line 1449. warn: ) warn: lint: 1 issues detected, please rerun with debug enabled for more information
0 -
erm.. this is awkward, so I tried lint on another server and... warn: rules: failed to run __KAM_SPF_NONE test, skipping: warn: (Can't locate object method "check_for_spf_none" via package "Mail: [...]:SpamAssassin::PerMsgStatus" at (eval 1839) line 1449. warn: ) warn: lint: 1 issues detected, please rerun with debug enabled for more information
All of them running cPanel/WHM (stable tier) v11.52.1.3.0 -
Search the forums for simply: KAM I understand that's not a proper answer, but there's been some updates to Apache SpamAssassin discussed at length around here recently that may be of some use to you. 0
Please sign in to leave a comment.
Comments
3 comments