diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-03-19 11:22:36 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-03-19 11:22:36 +0000 |
commit | b252d06f3ad200480255adb0beb3bf215cf030e4 (patch) | |
tree | 5b621ad594c6929b1a9b0ae251ae56abea163364 /doc/markdown/modules/surbl.md | |
parent | 99b18d6183aa16afa94154fc4c953fe8c1853eca (diff) | |
download | rspamd-b252d06f3ad200480255adb0beb3bf215cf030e4.tar.gz rspamd-b252d06f3ad200480255adb0beb3bf215cf030e4.zip |
[Doc] Use UCL highlighter instead of nginx
Diffstat (limited to 'doc/markdown/modules/surbl.md')
-rw-r--r-- | doc/markdown/modules/surbl.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/markdown/modules/surbl.md b/doc/markdown/modules/surbl.md index 84f43b8c0..ec39a6c7d 100644 --- a/doc/markdown/modules/surbl.md +++ b/doc/markdown/modules/surbl.md @@ -14,7 +14,7 @@ a specific sort of license. Nonetheless, they can be used by personal services or low volume requests free of charge. -~~~nginx +~~~ucl surbl { # List of domains that are not checked by surbl whitelist = "file://$CONFDIR/surbl-whitelist.inc"; @@ -81,7 +81,7 @@ it is possible to specify either `bit` or `ips` sections. Since some URL lists do not accept `IP` addresses, it is also possible to disable sending of URLs with IP address in the host to such lists. That could be done by specifying `noip = true` option: -~~~nginx +~~~ucl rule { suffix = "dbl.spamhaus.org"; symbol = "DBL"; @@ -92,7 +92,7 @@ Since some URL lists do not accept `IP` addresses, it is also possible to disabl It is also possible to check HTML images URLs using URL blacklists. Just specify `images = true` for such list and you are done: -~~~nginx +~~~ucl rule { suffix = "uribl.rambler.ru"; # Also check images @@ -172,7 +172,7 @@ In general this procedure could be represented as following: For example, [SBL list](https://www.spamhaus.org/sbl/) of `spamhaus` project provides such functions using `ZEN` multi list. This is included in rspamd default configuration: -~~~nginx +~~~ucl rule { suffix = "zen.spamhaus.org"; symbol = "ZEN_URIBL"; @@ -181,4 +181,4 @@ For example, [SBL list](https://www.spamhaus.org/sbl/) of `spamhaus` project pro URIBL_SBL = "127.0.0.2"; } } -~~~
\ No newline at end of file +~~~ |