diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-29 18:12:38 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-29 18:13:00 +0100 |
commit | e2d94b51496b0ea8a504bbda02ab4434cba61cc7 (patch) | |
tree | 49741116be0634cfcaa6e19e67114ee1aebb4ef2 /conf/modules.d | |
parent | f05518ae5c1711bd0efc1c835e9c6cdd9ff0b163 (diff) | |
download | rspamd-e2d94b51496b0ea8a504bbda02ab4434cba61cc7.tar.gz rspamd-e2d94b51496b0ea8a504bbda02ab4434cba61cc7.zip |
[Fix] Avoid extra symbols for RBLs
Diffstat (limited to 'conf/modules.d')
-rw-r--r-- | conf/modules.d/rbl.conf | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/conf/modules.d/rbl.conf b/conf/modules.d/rbl.conf index dc2b2bdcc..7544881bf 100644 --- a/conf/modules.d/rbl.conf +++ b/conf/modules.d/rbl.conf @@ -28,23 +28,25 @@ rbl { returncodes { RBL_SPAMHAUS_SBL = "127.0.0.2"; RBL_SPAMHAUS_CSS = "127.0.0.3"; + RBL_SPAMHAUS_XBL = ["127.0.0.4", "127.0.0.5", + "127.0.0.6", "127.0.0.7"]; RBL_SPAMHAUS_XBL = "127.0.0.4"; - RBL_SPAMHAUS_XBL1 = "127.0.0.5"; - RBL_SPAMHAUS_XBL2 = "127.0.0.6"; - RBL_SPAMHAUS_XBL3 = "127.0.0.7"; - RBL_SPAMHAUS_PBL = "127.0.0.10"; - RBL_SPAMHAUS_PBL1 = "127.0.0.11"; + RBL_SPAMHAUS_PBL = ["127.0.0.10", "127.0.0.11"]; RBL_SPAMHAUS_DROP = "127.0.0.9"; } } spamhaus_xbl { - symbol = "RECEIVED_SPAMHAUS_XBL"; - rbl = "xbl.spamhaus.org"; + symbol = "RECEIVED_SPAMHAUS"; + rbl = "zen.spamhaus.org"; ipv6 = true; received = true; from = false; ignore_whitelists = true; + returncodes { + RECEIVED_SPAMHAUS_XBL = ["127.0.0.4", "127.0.0.5", + "127.0.0.6", "127.0.0.7"]; + } } spamhaus_swl { |