]> source.dussan.org Git - rspamd.git/commitdiff
Update documentation
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 26 Oct 2015 09:26:25 +0000 (09:26 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 26 Oct 2015 09:26:25 +0000 (09:26 +0000)
doc/markdown/configuration/options.md
doc/markdown/configuration/settings.md

index b503b98f3da5a228883d3e0e78eb9b2721b6fdab..661b5ad6e126447b0e14a0c07b1bf86ddffe969b 100644 (file)
@@ -49,6 +49,7 @@ symbol).
 * `control_socket`: path/bind credits for the control socket
 * `classify_headers`: list of headers that are processed by statistics
 * `history_rows`: number of rows in the recent history roll table
+* `explicit_modules`: always load modules from the list even if they have no according configuration section in the file
 
 ## DNS options
 
index fa0e079337bbbb9eabe839f82e7c5aee209087e7..785692129381cd0c91dbee4462227ee128fd35b1 100644 (file)
@@ -48,6 +48,10 @@ settings {
                                "add header" = 5.0; # Please mention a space instead of underscore
                        }
                }
+               # Always add these symbols when settings rule has matched
+               symbols [
+                       "symbol2", "symbol4"
+               ]
        }
        whitelist {
                priority = low;
@@ -69,6 +73,7 @@ So each setting has the following attributes:
 - `apply` - list of applied rules, identified by metric name (e.g. `default`)
        + `symbol` - modify weight of a symbol
        + `actions` - section of modified actions
+- `symbols` - add symbols from the list if a rule has matched
 
 Match section performs `AND` operation on different matches, for example, if you have
 `from` and `rcpt` in the same rule, then rule matches only when `from` `AND` `rcpt` match.