I thought I could reset the training that had taken place over time, as I suspect that my users had misclassified some emails (moving them to or from the JUNK folder).
You could remove the rspamd-redis volume but usually it’s not needed to remove the statistics about the already learned spam/ham as it’s retrained.
For example if a mail was learned as spam and you set it as ham using rspamc, it’s not spam anymore.
It needs to be done in the dovecot container, using the rspamc-wrapper.
It’s explained in the ns8-mail README.
I have practically all relevant senders on the whitelist; I move false-positive emails to the inbox and vice versa every day.
Even so, for example, tons of emails end up in spam even though they’re on the whitelist. And sometimes they end up in the spam folder, sometimes they don’t.
This is especially annoying with one-time codes that are sent via email as a second factor.
It’s really bizarre behavior, and it’s becoming increasingly frustrating.
Ideally, I’d like a “reset” button to restore the default settings.
It would be helpful if they were listed in the documentation, but they’re missing there, too.
What else can I try to get a functional spam filter back?
I adjusted now to…
Threshold for marking as spam: 6
Threshold for rejecting spam messages: 15
Threshold value for greylisting: 4