diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-10-09 01:15:06 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-10-09 01:15:06 +0100 |
commit | 9cd981c8a6492779c2f7f70368afdd33432d53db (patch) | |
tree | 91754d22b159a72a30ab37946a4d8e52984338d3 /doc/markdown/configuration/metrics.md | |
parent | 04adaf3f61052fbd6f59b6a1fad35f3ec7d22a1f (diff) | |
download | rspamd-9cd981c8a6492779c2f7f70368afdd33432d53db.tar.gz rspamd-9cd981c8a6492779c2f7f70368afdd33432d53db.zip |
Document `one_shot` option.
Diffstat (limited to 'doc/markdown/configuration/metrics.md')
-rw-r--r-- | doc/markdown/configuration/metrics.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/markdown/configuration/metrics.md b/doc/markdown/configuration/metrics.md index ffc2d0c13..501f5a848 100644 --- a/doc/markdown/configuration/metrics.md +++ b/doc/markdown/configuration/metrics.md @@ -98,6 +98,7 @@ Symbols are defined by an object with the following properties: * `name` - symbolic name for a symbol (mandatory attribute) * `group` - a group of symbol, for example `DNSBL symbols` (as shown in webui) * `description` - optional symbolic description for webui +* `one_shot` - normally, rspamd inserts a symbol as much time as the corresponding rule mathes for the specific message, however, if `one_shot` is `true` then only **maximum** weight is added to the metric. `grow_factor` is correspondingly not modified by a repeated triggering of `one_shot` rules. So far, the symbol definition looks like this one: |