tldr/pages/linux/rspamc.md
bl-ue 8ebd171d6f
*: fix typos reported by Hunspell (#5848)
Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
Co-authored-by: Seth Falco <seth@falco.fun>
Co-authored-by: Patrice Denis <patricedenis@users.noreply.github.com>
2021-05-20 16:13:41 -04:00

20 lines
382 B
Markdown

# rspamc
> Command-line client for rspamd servers.
- 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`