From 9cd981c8a6492779c2f7f70368afdd33432d53db Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 9 Oct 2014 01:15:06 +0100 Subject: [PATCH] Document `one_shot` option. --- doc/markdown/configuration/metrics.md | 1 + 1 file changed, 1 insertion(+) 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: -- 2.39.5