How do I train Ham/Spam? #3609
-
|
First off, let me apologize if this is covered elsewhere. I've looked through the discussions and the website and didn't find much. I'm using rspamd with DMS and would like to train several dozen ham and spam emails. There is some documentation here: https://rspamd.com/doc/quickstart.html#using-rspamc-console-routine
Although, I cannot seem to find I would appreciate someone pointing me in the right direction! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
@georglauterbach may be able to assist when they have time. Some of the rspamd integration requires using DMS specific configuration layer AFAIK, so this may require an update to our docs if not covered. |
Beta Was this translation helpful? Give feedback.
-
I am not completely sure I understand what you mean by that, but I will just take a guess: you don't know where to acquire the $ docker exec -ti mailserver bash
root@mailserver # which rspamc
/usr/bin/rspamc
root@mailserver # # now you can use it
root@mailserver # rspamc learn_spam /path/to/spam/emailIf I'm not mistaken, the results are persisted in Redis, which comes pre-configured as well if you didn't disable it manually. |
Beta Was this translation helpful? Give feedback.
-
|
This is very helpful! Thank you!! |
Beta Was this translation helpful? Give feedback.
I am not completely sure I understand what you mean by that, but I will just take a guess: you don't know where to acquire the
rspamccommand? If this is the case, you'll find that the solution is very nice and si…