From e4731b934c7bdf03d128727acb701c6d6d7ffc0f Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 14 Oct 2015 16:47:36 +0100 Subject: [PATCH] Update documentation. --- doc/markdown/configuration/options.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/markdown/configuration/options.md b/doc/markdown/configuration/options.md index f1bf3b91a..730a7996b 100644 --- a/doc/markdown/configuration/options.md +++ b/doc/markdown/configuration/options.md @@ -7,6 +7,7 @@ The default options are depicted in the following example configuration snippet: ~~~nginx filters = "chartable,dkim,spf,surbl,regexp,fuzzy_check"; +raw_mode = false; one_shot = false; cache_file = "$DBDIR/symbols.cache"; map_watch_interval = 1min; @@ -20,6 +21,14 @@ dns { } tempdir = "/tmp"; url_tld = "${PLUGINSDIR}/effective_tld_names.dat"; +classify_headers = [ + "User-Agent", + "X-Mailer", + "Content-Type", + "X-MimeOLE", +]; + +control_socket = "$DBDIR/rspamd.sock mode=0600"; ~~~ ## Global options @@ -37,6 +46,8 @@ symbol). * `url_tld`: path to file with top level domain suffixes used by rspamd to find URL's in messages; by default this file is shipped with rspamd and should not be touched manually. * `pid_file`: file used to store pid of the rspamd main process (not used with sytemd). * `min_word_len`: minimum size in letters (valid for utf8 texts as well) for a sequence of characters to be treated as a word; normally rspamd skips sequences if they are shorter or equal to three symbols. +* `control_socket`: path/bind credits for the control socket +* `classify_headers`: list of headers that are processed by statistics ## DNS options -- 2.39.5