cPanelResources

Tutorial How To Train SpamAssassin with SA-Learn

cPanelResources

Staff
Staff member
Apr 27, 2015
115
66
153
Houston, TX
cPanel Access Level
DataCenter Provider
cPanelResources submitted a new resource:

How To Train SpamAssassin with SA-Learn - Identify more SPAM with SpamAssassin's sa-learn utility.

Overview
This tutorial includes instructions for using SpamAssassin's sa-learn utility to identify and catch more SPAM.

Important Notes
1. The instructions in this tutorial were tested on a server running CentOS 7.6 and cPanel & WHM version 78. However, the commands and examples provided in this tutorial should work with any supported version of cPanel and WHM as well as any supported version of CentOS, Red Hat, or CloudLinux.

2. The instructions in this tutorial are...
Read more about this resource...
 

renecd

Member
Mar 26, 2020
8
0
1
badland-vibes-tackiness-handoff
cPanel Access Level
DataCenter Provider
Interesting. Surprised there has been no reactions at all to this. Spam is still a big problem. For years I resorted to using Gmail who have got the spam situation 99.99% under control, but unfortunately the side effects have made me reevaluate hosting my own mail again, but it's an uphill battle.

Some questions to this tutorial:

1) Since a bayes_seen and bayes_toks already exist in my .spamassassin folder, something must already be running sa-learn on cpanel servers? I'd like to know what, so I don't conflict that with my own jobs. I don't see anything in root's crontab.

2) Once sa-learn has run on the spam folder, is there a way to have it delete the checked mail? Either directly through sa-learn, or some other way? Does it make sense?
 

AndyB78

Well-Known Member
Oct 7, 2003
74
2
158
Romania
cPanel Access Level
Root Administrator
Interesting. Surprised there has been no reactions at all to this. Spam is still a big problem.
Doesn't seem all that surprising as sa-learn is not a cPanel feature but a SA feature. cPanel is a GUI interface usually used by people that know nothing about SSH and wouldn't care less. If the users need to know how to use putty or the server admin needs to do this for them, this completely defeats the purpose of cPanel. So this is in no way relevant (specifically at least) to the cPanel ecosystem.

When we'll have Spam/Ham buttons in cPanel (maybe in a native cPanel webmail app), like most free mail providers offer for a very long time, then sa-learn will be relevant to cPanel. IMO this is a feature that should have been developed by cPanel long time ago. At least before the first price increase. Or at the very least before the new (Jan 1st 2021) one as we can see a significant upsurge in spam volumes and especially virus mail propagation techniques.