]> source.dussan.org Git - rspamd.git/commitdiff
Several fixes.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 6 Jan 2014 11:42:17 +0000 (11:42 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 6 Jan 2014 11:42:17 +0000 (11:42 +0000)
doc/markdown/configuration/settings.md
doc/markdown/configuration/settings.png

index a87e6141d63cc76111f71720f12932ee23e8a7d3..94eba112f9e326177f9eeb4e904d8fc7d2db84f9 100644 (file)
@@ -18,7 +18,7 @@ The settings file itself should contain a single section called "settings":
 ~~~nginx
 settings {
        some_users {
-               priority = 0;
+               priority = high;
                from = "@example.com";
                rcpt = "admin";
                rcpt = "/user.*/";
@@ -33,7 +33,7 @@ settings {
                }
        }
        whitelist {
-               priority = 1;
+               priority = low;
                rcpt = "postmaster@example.com";
                want_spam = yes;
        }
@@ -43,7 +43,7 @@ settings {
 So each setting has the following attributes:
 
 - `name` - section name that identify this specific setting (e.g. `some_users`)
-- `priority` - 0 or 1, 0 is higher priority than 1 and is matched first (default priority is 1)
+- `priority` - high or low, high priority rules are matched first (default priority is low)
 - `match list` - list of rules when this rule matches:
        + `from` - match SMTP from
        + `rcpt` - match RCPT
index c414508645b8fd7ba0a6e9f9ba1054954cc441e9..2fbec2777feb3d5b2ce170acd90a79cdf1234b0b 100644 (file)
Binary files a/doc/markdown/configuration/settings.png and b/doc/markdown/configuration/settings.png differ