• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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