1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 09:42:07 +02:00

rspamc: add page (#1612)

This commit is contained in:
Starbeamrainbowlabs 2017-10-30 19:21:45 +00:00 committed by GitHub
parent 00265c265a
commit c69045c6bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

19
pages/linux/rspamc.md Normal file
View 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`