After upgrading from Centos 7 to AlmaLinux 8 Amavis is treating mail with low scores as spam. How can I fix this?

After upgrading from Centos7 to AlmaLinux 8 Amavis is treating mail with low scores as spam. This is due to a bug with the perl-DBD-MySQL driver that Amavis used previously on Centos7. On AlmaLinux 8+ Amavis uses the perl-DBD-MariaDB which fixes this bug.

To switch the Warden config to use the perl-DBD-MariaDB driver using the Command Line Interface

This will reset the Amavis database credentials and switch to the new perl-DBD-MariaDB driver:

// make sure that the perl-DBD-MariaDB package is installed
yum install perl-DBD-MariaDB

// reset the Amavis database credentials
warden --task=contentfilter:contentfilter --default=yes --reload=yes

// reset the SpamAssassin database credentials
warden --task=antispam:learning --default=yes --reload=yes

 

 

 

  • centos7, upgrade, Almalinux8, CentOS2Alma
  • 0 gebruikers vonden dit artikel nuttig
Was dit antwoord nuttig?

Gerelateerde artikelen

Is there any downtime when installing Warden Anti-spam and Virus Protection?

No there is no downtime required to install and configure Warden Anti-spam and Virus Protection....

Do subdomains count towards license limits?

Subdomains do NOT count towards your domain limits. So you could have a server with a few domains...

How do the admin and pro edition domain limits work?

The admin and pro editions allow you to use up to 10 domains (admin edition) or 30 domains (pro...

How does the free trial work?

Our free trials allow you to install and use any of our Plesk extensions for a trial period of...

What domains are counted for a Danami license domain limit?

All domains added in Plesk are counted towards your domain limit indicated on your Danami...