diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-12-24 17:07:12 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-12-24 17:07:12 +0000 |
commit | 4b0f1587bb149bc7a1f4114a9ec5d5e4f301aaa9 (patch) | |
tree | b21d187db1dbce007053db4a4c458656a69ee930 /conf/modules.conf | |
parent | 9131d16dfffbdf234e3c3aabccd6bdd8cbeea3c5 (diff) | |
download | rspamd-4b0f1587bb149bc7a1f4114a9ec5d5e4f301aaa9.tar.gz rspamd-4b0f1587bb149bc7a1f4114a9ec5d5e4f301aaa9.zip |
Improve spamhaus RBL support.
Submitted by: AL
Diffstat (limited to 'conf/modules.conf')
-rw-r--r-- | conf/modules.conf | 36 |
1 files changed, 21 insertions, 15 deletions
diff --git a/conf/modules.conf b/conf/modules.conf index dd619b0bf..41296b7bf 100644 --- a/conf/modules.conf +++ b/conf/modules.conf @@ -71,28 +71,34 @@ rbl { default_from = true; rbls { - spamhaus_zen { - symbol = "RBL_ZEN"; - rbl = "zen.spamhaus.org"; - ipv4 = true; - ipv6 = true; - } - spamhaus_pbl { - symbol = "RECEIVED_PBL"; - rbl = "pbl.spamhaus.org"; - ipv4 = true; - ipv6 = true; - received = true; - from = false; - } + + spamhaus { + symbol = "RBL_SPAMHAUS"; + rbl = "zen.spamhaus.org"; + ipv4 = true; + ipv6 = true; + unknown = false; + returncodes { + RBL_SPAMHAUS_SBL = "127.0.0.2"; + RBL_SPAMHAUS_CSS = "127.0.0.3"; + RBL_SPAMHAUS_XBL = "127.0.0.4"; + RBL_SPAMHAUS_XBL = "127.0.0.5"; + RBL_SPAMHAUS_XBL = "127.0.0.6"; + RBL_SPAMHAUS_XBL = "127.0.0.7"; + RBL_SPAMHAUS_PBL = "127.0.0.10"; + RBL_SPAMHAUS_PBL = "127.0.0.11"; + } + } + spamhaus_xbl { - symbol = "RECEIVED_XBL"; + symbol = "RECEIVED_SPAMHAUS_XBL"; rbl = "xbl.spamhaus.org"; ipv4 = true; ipv6 = true; received = true; from = false; } + mailspike { symbol = "RBL_MAILSPIKE"; rbl = "bl.mailspike.net"; |