2017-10-30 19:21:45 +00:00
|
|
|
# rspamc
|
|
|
|
|
2021-05-20 21:13:41 +01:00
|
|
|
> Command-line client for rspamd servers.
|
2022-03-21 17:07:48 +00:00
|
|
|
> More information: <https://manned.org/rspamc>.
|
2017-10-30 19:21:45 +00:00
|
|
|
|
|
|
|
- Train the bayesian filter to recognise an email as spam:
|
|
|
|
|
|
|
|
`rspamc learn_spam {{path/to/email_file}}`
|
|
|
|
|
|
|
|
- Train the bayesian filter to recognise an email as ham:
|
|
|
|
|
|
|
|
`rspamc learn_ham {{path/to/email_file}}`
|
|
|
|
|
|
|
|
- Generate a manual report on an email:
|
|
|
|
|
|
|
|
`rspamc symbols {{path/to/email_file}}`
|
|
|
|
|
|
|
|
- Show server statistics:
|
|
|
|
|
|
|
|
`rspamc stat`
|