aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-14 18:32:25 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-14 18:32:25 +0100
commit7e10d7f43edc59e4d7ba446e68d59daa6cae1bda (patch)
tree9881042a673ddb497f9a9ae525cf8cd6cfe6ee15 /doc
parent57d61529038fe4c1a27e20871b13788409388c25 (diff)
downloadrspamd-7e10d7f43edc59e4d7ba446e68d59daa6cae1bda.tar.gz
rspamd-7e10d7f43edc59e4d7ba446e68d59daa6cae1bda.zip
Document group limits.
Diffstat (limited to 'doc')
-rw-r--r--doc/markdown/configuration/metrics.md34
1 files changed, 33 insertions, 1 deletions
diff --git a/doc/markdown/configuration/metrics.md b/doc/markdown/configuration/metrics.md
index d55f5de19..48fe55365 100644
--- a/doc/markdown/configuration/metrics.md
+++ b/doc/markdown/configuration/metrics.md
@@ -115,4 +115,36 @@ symbol {
}
~~~
-A single metric can contain multiple symbols definitions. \ No newline at end of file
+A single metric can contain multiple symbols definitions.
+
+
+## Symbol groups
+
+Symbols can be grouped to specify their common functionality. For example, one might group all
+`RBL` symbols all together. Moreover, from rspamd 0.9 it is possible to specify group score limit,
+which could be useful, for instance if some specific group should not unconditionally send a message
+to `spam` class. Here is an example of such a functionality:
+
+~~~nginx
+metric {
+ name = default;
+
+ group {
+ name = "RBL group";
+ max_score = 6.0;
+
+ symbol {
+ name = "RBL1";
+ weight = 1;
+ }
+ symbol {
+ name = "RBL2";
+ weight = 4;
+ }
+ symbol {
+ name = "RBL3";
+ weight = 5;
+ }
+ }
+}
+~~~ \ No newline at end of file