How can I enable the Rule2XSBody plugin to speed up anti-spam rules by compiling them into native code?

Install the required packages

Install the required packages and compile our rules into native code:

// AlmaLinux/RHEL/CloudLinux/RockyLinux/Centos
yum install gcc re2c make perl-ExtUtils-MakeMaker

// Debian / Ubuntu
apt-get install gcc re2c make

// run sa-compile to compile the rules into native code
/usr/bin/sa-compile

// AlmaLinux/RHEL/CloudLinux/RockyLinux/Centos users with SeLinux enabled must re-apply SELinux labels 
restorecon -R -v "/var/lib/spamassassin/compiled/" 

Enable the Rule2XSBody plugin in Warden

Navigate to Warden -> Settings -> Plugin Settings and check the Rule2XSBody plugin and press the update button to save the page. After the plugin is enabled Warden will run a nightly task runing the sa-update and sa-compile commands.

  • Rule2XSBody, bayes, learning, optimize, performance
  • 0 Użytkownicy uznali za użyteczne
Czy ta odpowiedź była pomocna?

Powiązane artykuły

How can I change the interface language of the extension?

You can change the interface language under Settings -> Application Settings -> Locale...

How can I disable admin email notifications in Amavis?

Amavis has different default options for controlling where virus, spam, banned file attachments,...

How can I whitelist or blacklist a mail server from greylisting?

To Whitelist a Mail Server From Greylisting Navigate to Warden -> Settings ->...

How can I enable third party anti-virus signatures within Warden to improve the ClamAV detection rate?

Warden supports enabling third party anti-virus signatures to improve the detection rate. These...

How can I setup a local caching DNS resolver to speed up DNS queries used by Amavis?

Run the following command to check if local DNS caching is enabled: host -tTXT...