• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Plesk Email Security configuration - Spamassassin Configuration Error

noob@work

New Pleskian
Hi @ all!

if the Plesk Email Security are installed, the put in the /etc/spamassassin/local.cf file the following lines:
Code:
"/etc/spamassassin/local.cf": use_auto_whitelist 1
"/etc/spamassassin/local.cf": auto_whitelist_factory Mail::SpamAssassin::SQLBasedAddrList
"/etc/spamassassin/local.cf": user_awl_dsn DBI:mysql:emailsecurity:localhost
"/etc/spamassassin/local.cf": user_awl_sql_username xxxx
"/etc/spamassassin/local.cf": user_awl_sql_password xxxx

But with this config lines the sa-compile failed.

Code:
sa-compile: not compiling; 'spamassassin --lint' check failed!
dpkg: error processing package sa-compile (--configure):
 installed sa-compile package post-installation script subprocess returned error exit status 11

If the lines are commented out sa-compile is working again.

My environment:
OS: Debian 10.9
Plesk Obsidian 18.0.34 Update #2
Mailserver: Postfix
IMAP-/POP3-Server: Dovecot
Amavis

Br
 
Same issue here! Plesk 18.0.34 broke Postfix/Dovecot.. installed update #2, still getting auth errors with some clients who are using STARTTLS on 587 for SMTP and now getting this issue with SpamAssassin..

Debian 9.13
Plesk Obsidian 18.0.34 Update #2
Mailserver: Postfix
IMAP-/POP3-Server: Dovecot
Amavis
 
Last edited:
A bug causes the issue with SpamAssassin with ID EXTCERT-3364: some modules are not properly enabled in SpamAssassin configs.
You can fix the issue with the following steps:

Enable the plugin:

# sed -i.BAK '/Plugin::AWL/s/^#//g' /etc/spamassassin/v310.pre

Restart spamassassin:

# service spamassassin restart

Reconfigure spamassassin:

# spamassassin --lint

Update packages:

# apt update && apt upgrade
 
Back
Top