summaryrefslogtreecommitdiffstats
path: root/rspamd.conf.sample
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-02 19:18:43 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-02 19:18:43 +0300
commitf972cde13ca98f6ed992a288826467abf04c888a (patch)
tree6569ef0e15b85f4e23aac48c99c5fcc97d679a07 /rspamd.conf.sample
parent186f9ab430c1f20efb595da504570fd0b575836a (diff)
downloadrspamd-f972cde13ca98f6ed992a288826467abf04c888a.tar.gz
rspamd-f972cde13ca98f6ed992a288826467abf04c888a.zip
* Add ability to check bits from surbl replies
Diffstat (limited to 'rspamd.conf.sample')
-rw-r--r--rspamd.conf.sample16
1 files changed, 14 insertions, 2 deletions
diff --git a/rspamd.conf.sample b/rspamd.conf.sample
index 591f8876c..bac7dc922 100644
--- a/rspamd.conf.sample
+++ b/rspamd.conf.sample
@@ -107,8 +107,20 @@ delivery {
redirector_connect_timeout = "1s";
# IO timeout for redirector (may be usefull to set this value rather big)
redirector_read_timeout = "10s";
- # This is suffix for surbl dns requests
- suffix_SURBL_MULTI = "multi.surbl.org";
+ # This is suffix for surbl dns requests,
+ # %b is replaced with bit metric if it is found
+ suffix_%b_SURBL_MULTI = "multi.surbl.org";
+
+ # Bits that are used to determine specific URI black list
+ # details are at http://www.surbl.org/lists.html#multi
+ # sytax is: bit_{number} = "SYMBOL"
+ bit_2 = "SC"; # sc.surbl.org
+ bit_4 = "WS"; # ws.surbl.org
+ bit_8 = "PH"; # ph.surbl.org
+ bit_16 = "OB"; # ob.surbl.org
+ bit_32 = "AB"; # ab.surbl.org
+ bit_64 = "JP"; # jp.surbl.org
+
# Metric for surbl module
metric = "default";
# List of public known hostings (for which we should use 3 components of domain name instead of 2)