diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-01-06 11:42:17 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-01-06 11:42:17 +0000 |
commit | c97b00cd6615e0bcf8f9703a669586c0337be5d3 (patch) | |
tree | 3372c6ff0132c7e09ed8563b6f189c3af90c1165 /doc/markdown | |
parent | fde25e6763a362a2c55e4475ec129f73bbf2df4e (diff) | |
download | rspamd-c97b00cd6615e0bcf8f9703a669586c0337be5d3.tar.gz rspamd-c97b00cd6615e0bcf8f9703a669586c0337be5d3.zip |
Several fixes.
Diffstat (limited to 'doc/markdown')
-rw-r--r-- | doc/markdown/configuration/settings.md | 6 | ||||
-rw-r--r-- | doc/markdown/configuration/settings.png | bin | 10988 -> 11010 bytes |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/markdown/configuration/settings.md b/doc/markdown/configuration/settings.md index a87e6141d..94eba112f 100644 --- a/doc/markdown/configuration/settings.md +++ b/doc/markdown/configuration/settings.md @@ -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 diff --git a/doc/markdown/configuration/settings.png b/doc/markdown/configuration/settings.png Binary files differindex c41450864..2fbec2777 100644 --- a/doc/markdown/configuration/settings.png +++ b/doc/markdown/configuration/settings.png |