diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-14 13:30:55 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-14 13:30:55 +0000 |
commit | b22485f657c40c9b9fda9675d25c9294288c5732 (patch) | |
tree | 2ade5a2bfb8d39c7c1379dcc3ff72bb6b27c4188 /doc | |
parent | e0fa8bf017a672d178f9024eeb46ce81eeaf188c (diff) | |
download | rspamd-b22485f657c40c9b9fda9675d25c9294288c5732.tar.gz rspamd-b22485f657c40c9b9fda9675d25c9294288c5732.zip |
Allow processing images urls for SURBL
Diffstat (limited to 'doc')
-rw-r--r-- | doc/markdown/modules/surbl.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/markdown/modules/surbl.md b/doc/markdown/modules/surbl.md index 30655b794..84f43b8c0 100644 --- a/doc/markdown/modules/surbl.md +++ b/doc/markdown/modules/surbl.md @@ -46,6 +46,8 @@ surbl { } rule { suffix = "uribl.rambler.ru"; + # Also check images + images = true; symbol = "RAMBLER_URIBL"; } rule { @@ -77,6 +79,28 @@ In general, the configuration of `surbl` module is definition of DNS lists. Each list must have suffix that defines the list itself and optionally for some lists 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 + rule { + suffix = "dbl.spamhaus.org"; + symbol = "DBL"; + # Do not check numeric URL's + noip = true; + } +~~~ + +It is also possible to check HTML images URLs using URL blacklists. Just specify `images = true` for such list and you are done: + +~~~nginx + rule { + suffix = "uribl.rambler.ru"; + # Also check images + images = true; + symbol = "RAMBLER_URIBL"; + } +~~~ + ## Principles of operation In this section, we define how `surbl` module performs its checks. |