aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-14 16:47:36 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-14 16:47:36 +0100
commite4731b934c7bdf03d128727acb701c6d6d7ffc0f (patch)
tree82ff40ef7be8c12634794368bab0db9cdd4da5fa /doc
parentb9ef6acd98acb414b7e1075d04cb192ab6f30ef5 (diff)
downloadrspamd-e4731b934c7bdf03d128727acb701c6d6d7ffc0f.tar.gz
rspamd-e4731b934c7bdf03d128727acb701c6d6d7ffc0f.zip
Update documentation.
Diffstat (limited to 'doc')
-rw-r--r--doc/markdown/configuration/options.md11
1 files changed, 11 insertions, 0 deletions
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