Applicable to:
- Plesk for Linux
Symptoms
-
CentOS 6 installed on the server
-
Spam processing fails with the following error in /var/log/maillog:
PLESK_ERROR: spamd[1306]: spamd: processing message <0441b453c60fbc1344e1ddb22be8b961@example.com; for john@example.org:110
spamd[1306]: rules: failed to run SPF_NONE test, skipping:
spamd[1306]: (Can't locate object method "check_for_spf_none" via package "Mail:[...]:SpamAssassin::PerMsgStatus" at (eval 1681) line 369.
spamd[1306]: rules: failed to run SPF_HELO_NONE test, skipping:
spamd[1306]: (Can't locate object method "check_for_spf_helo_none" via package "Mail: [...]:SpamAssassin::PerMsgStatus" at (eval 1681) line 1089.Cause
The issue caused by the Spam Assassin's bug #6490, which occurs only version Spamassassin 3.3.1. The bug is fixed in version 3.3.2 and upper. But It is not possible to install the newest version of Spam Assassin because the version 3.3.1 is the latest version which providing from official CentOS 6 repository.
Resolution
Please consider updating your server to Centos 7 which provide the latest version of Spam Assassin.
Additionally, it is possible to use the following workaround - switch off SPF filter using steps from this website
Comments
2 comments
This works for me
Hi Dario,
Thank you for sharing this. However it might be dangerous to replace part of the SpamAssasing with file from different version, we don't recommend this solution.
Please sign in to leave a comment.