From: Vsevolod Stakhov Date: Thu, 9 Oct 2014 00:15:06 +0000 (+0100) Subject: Document `one_shot` option. X-Git-Tag: 0.7.2~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cd981c8a6492779c2f7f70368afdd33432d53db;p=thirdparty%2Frspamd.git Document `one_shot` option. --- diff --git a/doc/markdown/configuration/metrics.md b/doc/markdown/configuration/metrics.md index ffc2d0c131..501f5a8487 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: