[SOLVED] SpamAssassin custom rules (/etc/mail/spamassassin/custom.cf) are not working

fernoliv

Well-Known Member
Sep 30, 2018
30
15
48
41
Hi there,

I have hundreds of SpamAssassin custom rules on the file /etc/mail/spamassassin/custom.cf (see the attached picture). It is being used to filter the header (subject) but it is not adding the scores or matching the strings anymore.

I'm using the latest PMG (proxmox-mailgateway: 6.4-1 (API: 6.4-3/225ecb80, running kernel: 5.4.106-1-pve).

Do you guys think that is due the upgrade from 6.3 to 6.4? Are the SpamAssassin paths the same of before or now we have new files doing that?

Thank you so much for your help.
 

Attachments

  • Captura de Tela 2021-04-16 às 08.44.46.png
    Captura de Tela 2021-04-16 às 08.44.46.png
    82 KB · Views: 105
Nothing should have changed with that upgrade ...

please run `spamassassin --lint -D all 2>&1` to see if the file gets read by spamassassin (you should both see 'custom.cf' in the output and probably also some of your rule-names)

I hope this helps!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!