• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue Spamassassin SPF check not working

uniauto

Basic Pleskian
Server operating system version
Debian 12.6
Plesk version and microupdate number
Plesk Obsidian 18.0.62
Hi.

Few days ago migrated a server and noticed SPF_ and SPF_HELO_ rules aren't working.
This rules are missing in X-Spam-Status mail headers.
Noticed that its working fine for internalmail. SPF_PASS is there for mails between local accounts.

Tried to change server DNS to 127.0.0.1.
Tried to change server DNS to 8.8.8.8.
Tried to add /etc/spamassassin/65_dns.cf => dns_server 127.0.0.1
Tried to add /etc/spamassassin/65_dns.cf => dns_server 8.8.8.8
Plugin is enabled in /etc/spamassasin/init.pre
loadplugin Mail::SpamAssassin::plugin::SPF


Any hint?
 
What are the settings in Tools & Settings > Mail Server Settings > SPF spam protection on both servers?
 
Captura de pantalla_2024-07-04_00-19-54.png

Received-SPF Header is there. But Spamassassin rules only appear with emails between localdomains, not from external domains.
 
Maybe its related to Spamassassin versión?
Old server have SpamAssassin 3.4.2
New server have SpamAssassin 4.0.0
 
I haven't found similar cases. It could very well be a bug that was fixed in newer versions. Can you update SpamAssassin to check?
 
I haven't found similar cases. It could very well be a bug that was fixed in newer versions. Can you update SpamAssassin to check?
Re-installed Debian 12 in old server and it have same problem.
Tried to upgrade version used by Plesk, but i ddint find a way....

Anyway found a solution. I think Plesk isnt installing all required packages for Spamassassin.
Removed Spamassassin.
Installed again using command line instead Plesk GUI.
apt install spamassassin -> installed a lot of new packages...

Captura de pantalla_2024-07-05_00-35-40.png

Now install again using Plesk GUI, and it works.

Thansk for answer and try to help artalva.
 
Adding more info:

Just checked sa-update.log and found that SPF plugin was not installed by default with Plesk

Captura de pantalla_2024-07-05_01-13-14.png

Maybe more plugins wasnt installed
Captura de pantalla_2024-07-05_01-17-35.png
 
Recently the sa-compile component of SpamAssassin has been excluded from the installation because of security issues. The side effect of this is that, on APT based systems (Debian and Ubuntu), some common SpamAssassin plugins (modules) are no longer installed by default. As you have noticed. These plugins can still be installed manually via the package manager. For example apt-get install libmail-spf-perl to install the SPF plugin.
 
Back
Top