From c69045c6bbfb4c88a2b0eede46fb0fa3fbeecde7 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Mon, 30 Oct 2017 19:21:45 +0000 Subject: [PATCH] rspamc: add page (#1612) --- pages/linux/rspamc.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pages/linux/rspamc.md diff --git a/pages/linux/rspamc.md b/pages/linux/rspamc.md new file mode 100644 index 0000000000..32d7284c7a --- /dev/null +++ b/pages/linux/rspamc.md @@ -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`