mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
512 B
Plaintext
26 lines
512 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# rspamc
|
|
|
|
> Client for `rspamd` servers.
|
|
> More information: <https://manned.org/rspamc>.
|
|
|
|
- Train the bayesian filter to recognise an email as spam:
|
|
|
|
`rspamc learn_spam {{path/to/email_file}}`
|
|
|
|
- Train the bayesian filter to recognize 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`
|