Adding Ruleset to Spamassasin

Feb 15, 2023
2
0
1
Hi,

Our PMG does not filtering well incoming mails. A lot of SPAM have a SA score to 0/5.

In order to enhance mail filtering, i've add schaal-it ruleset via this tutorial :
https://forum.proxmox.com/threads/a...ay-especially-spam-and-virus-detection.44152/

apt-get install re2c
cd /etc/cron.hourly && wget sa.schaal-it.net/sa-update && chown root.root sa-update && chmod 755 sa-update
vi sa-update

How can i check if it is active ?
Can i add it in a better way in order to see update availability in GUI ?

Thanks
 
Our PMG does not filtering well incoming mails. A lot of SPAM have a SA score to 0/5.
check out the getting started article in the pmg wiki (with all linked pages there):
https://pmg.proxmox.com/wiki/index.php/Getting_started_with_Proxmox_Mail_Gateway
This is usually enough to get quite good detection rates.

If this does not help p lease share some logs - especially the lines from pmg-smtp-filter which indicate which SpamAssassin rules hit - maybe there is something else where your config can be improved.

n order to enhance mail filtering, i've add schaal-it ruleset via this tutorial :
https://forum.proxmox.com/threads/a...ay-especially-spam-and-virus-detection.44152/
see https://bugzilla.proxmox.com/show_bug.cgi?id=4395
regarding adding additional spamassassin channels to PMG

you can of course modify and configure this manually - but I would at least consider not using precompiled rules for spamassassin.
(it has caused quite a few installations some issues with broken updates, and thus not running)

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!