Each rule has a score associated with it. By default a message needs to reach 5.0 to be marked as "spam":
* https://spamassassin.apache.org/full/3.0.x/dist/doc/Mail_Spa...
The threshold is configurable. An header is added post-processing, e.g.:
X-Spam-Status: Yes, score=21.6 required=4.0 […]
* https://cwiki.apache.org/confluence/display/SPAMASSASSIN/X+S...One can then choose what do to with this information (via procmail or Sieve). There is another header as well:
> X-Spam-Level: This displays your spam level with asterisks, with one asterisk displayed per point, rounded down. For example, if your overall SpamAssassin score is 4.3, it will display ****. If you score less than 1, for example, 0.5, it will display nothing.
It occurred to me recently that LLM-style tokenization + bayesian classification would be a sweet upgrade for spambayes, which always struggled with ad-hoc tokenization rules.
(I don't think of it as "client side"; it was integrated with my system via procmail on what I'd call the "server side". You could use it in other ways, including as an Outlook plugin, way back in the day. Or it could connect to an IMAP mailbox and filter messages it found, etc. Really versatile tool for its time)
I also have dovecot set to learn Ham every time I file an email from the inbox to a folder for good measure.
1 spam a month would be .018% of emails and 5 x 4 spams a month would be .364% of emails
So I would have gotten about .346% more spam based on the number of emails. In reality, because I don't see all of the mails, it's less. Is a touch more than a third of a percent a 'big difference'? YMMV.
I'm more curious about the opposite metric: how many non-spam emails a week arent getting delivered to you? Because that seems to be the real flaw in spamassassin: the false positive rate.
And the spamassassin users don't usually have much visibility into this, so when emails don't get to them they just blame the sender.
My false-positive rate is very low, maybe a couple per month. However, I can predict with a high degree of accuracy when a piece of email is likely to land in the spam folder. Things like confirmation emails, registration emails, etc. are guaranteed to land in the spam folder. It's pretty hard for any system to accommodate those without allowing spam to get by.
That's fine by me, though, because I know when to check my spam folder.
In short: you can probably do better than 3-5 spams per week with SA.
The big problem is the entire thing is a beast to configure with all the documentation of a Babylonian cuneiform stone tablet.
But that's a problem that will resolve itself over time, in a variety of ways. And the spam systems can play the same tricks with only invoking it on a fraction of emails too, of course. It's just at current expense levels, that would be a very small fraction indeed. I'd hazard that trying to use modern AI on spam classification at scale could easily consume 10x-100x of all current AI hardware and still make less of a dent than you'd hope.
Then there are increasing tiers of cost that you would only run after it becomes likely that the message is acceptable. As you say, you would only run an antivirus on a message on the verge of delivery, because decoding the attachment and running the AV (in an expensive sandbox) is so costly.
https://workspace.google.com/blog/identity-and-security/an-o...
https://spamassassin.apache.org/full/3.0.x/dist/doc/sa-learn... https://cwiki.apache.org/confluence/display/spamassassin/Bay...