1

I have rspamd installed and configured as my spam filter of choice, along with dovecot and postfix. It's working well, but it occasionally misses the odd spam message here and there.

How can I train rspamd's filter through the terminal on some spam / ham messages I have on my disk?

1

I've finally figured it out. The manual really isn't very clear at all on this essential functionality. To teach the filter about spam messages, type this:

rspamc learn_spam email_file1 email_file2 etc

To teach the filter about normal messages, type this:

rspamc learn_ham email_file1 email_file2 etc
-2

You can use rspamc to feed rspamd.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.