mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 08:02:08 +02:00
rspamc: add page (#1612)
This commit is contained in:
parent
00265c265a
commit
c69045c6bb
1 changed files with 19 additions and 0 deletions
19
pages/linux/rspamc.md
Normal file
19
pages/linux/rspamc.md
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# 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`
|
Loading…
Add table
Reference in a new issue