There’s no documentation that I can find for Mail-in-a-Box that defines this, but numerous folks have said that simply moving an email to the “Spam” folder should have SA auto-learn it as spam. And possibly moving it from Spam to Inbox does the opposite (learns it as good/ham?)
But I want to know is that really true? I’ve sent so many emails to the spam folder, it doesn’t seem to ever improve. I’ll get the same spammy “check out my videos” messages right to my inbox.
It’s not clear that this is working at all. On the other hand, it’s not clear that it’s not working either. I don’t know that learning is working on my box, but spam filtering on my box is extremely good.
I think it is working. When I send a message to spam, similar message are later automatically send to spamm. The bayesean database is also updated. But proving it is another thing.
I have the same experiences @michaelkroes. There are some plugins around for Roundcube on GitHub (although most still in beta) that have SpamAssassin implementation learning possibilities (sa-learn --ham --username=%u %f or sa-learn --ham --prefs-file=/var/mail/%d/%l/.spamassassin/user_prefs %f ).
Haven’t had any spam yet as all new addresses, I got spam learning to work on my previous box, as previous poster said need to get it to run sa-learn with the ‘spam’ folder - the it learns and marks the spam, the tricky bit was getting sieve to move it into the ‘spam’ automatically,
So I had spam all marked up nicely, but loose in the inbox, some users made a filter in their mail client.
PS the ham is not spam,
You can always check the headers in each email to see the workings and conclusions that Spamassassin draws from your email history. Look at the “X-Spam-*” header in each mail, those might indicate why mail is indicated as ham or spam.