From 5dbca76a7579955f52b89a2fa81dd2d2c9246c3d Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 9 May 2015 22:04:20 +0100 Subject: [PATCH] Add some documentation. --- doc/markdown/configuration/composites.md | 11 +++++++++++ doc/markdown/modules/maillist.md | 15 +++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/doc/markdown/configuration/composites.md b/doc/markdown/configuration/composites.md index 3aa63c072..09815df25 100644 --- a/doc/markdown/configuration/composites.md +++ b/doc/markdown/configuration/composites.md @@ -61,3 +61,14 @@ For example, you have symbol `A` and `B` with weights `W_a` and `W_b` and a comp * If `C` is `-A & B`, then rule `A` is preserved, but the symbol `C` is inserted. The weight of `A` is preserved as well, so the total weight of `-A & B` will be `W_a + W_c`. * If `C` is `~A & B`, then rule `A` is *removed* but its weight is *preserved*, leading to a single symbol `C` with weight `W_a + W_c` +## Composites with symbol groups + +It is also possible to include the whole group of symbols to a composite rule. This +efficiently means **any** symbol of the specified group: + +~~~nginx +composite { + name = "TEST2"; + expression = "SYMBOL2 && !g:mua"; +} +~~~ \ No newline at end of file diff --git a/doc/markdown/modules/maillist.md b/doc/markdown/modules/maillist.md index e69de29bb..7563eae24 100644 --- a/doc/markdown/modules/maillist.md +++ b/doc/markdown/modules/maillist.md @@ -0,0 +1,15 @@ +# Mail list module + +Mailing list module is a simple module that performs checks whether a message is +sent over some popular mailing lists software. This module is designed to negate +some rules as they are likely to be touched unnecessarily if a message comes from +some list. + +Here is a list of currently supported mailing lists programs: + +- Ezmlm +- Mailman +- Google groups +- Majordomo +- Communigate PRO mailing lists +- subscribe.ru mailing list \ No newline at end of file -- 2.39.5