From b22485f657c40c9b9fda9675d25c9294288c5732 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 14 Jan 2016 13:30:55 +0000 Subject: Allow processing images urls for SURBL --- doc/markdown/modules/surbl.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'doc/markdown') 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. -- cgit v1.2.3