diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-08-30 10:25:22 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-08-30 10:25:22 +0200 |
commit | 8ca891bd41068f4ca99a52a5535d025ecdebb815 (patch) | |
tree | cd3736a8efc1cef3ae0514e0a16eba555fa62aaf /conf/modules.d/rbl.conf | |
parent | 3e2a85f7ddc4369f5315f079e2f9dbfb9c13ef0e (diff) | |
download | rspamd-8ca891bd41068f4ca99a52a5535d025ecdebb815.tar.gz rspamd-8ca891bd41068f4ca99a52a5535d025ecdebb815.zip |
[Minor] Reduce number of lookups for Mailspike
Diffstat (limited to 'conf/modules.d/rbl.conf')
-rw-r--r-- | conf/modules.d/rbl.conf | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/conf/modules.d/rbl.conf b/conf/modules.d/rbl.conf index 7544881bf..28d1e39b9 100644 --- a/conf/modules.d/rbl.conf +++ b/conf/modules.d/rbl.conf @@ -64,27 +64,23 @@ rbl { } } - mailspike_bl { - symbol = "RBL_MAILSPIKE"; - unknown = true; - rbl = "bl.mailspike.net"; - returncodes { - RBL_MAILSPIKE_ZOMBIE = "127.0.0.2"; - RBL_MAILSPIKE_WORST = "127.0.0.10"; - RBL_MAILSPIKE_VERYBAD = "127.0.0.11"; - RBL_MAILSPIKE_BAD = "127.0.0.12"; - } - } - - mailspike_wl { - symbol = "RWL_MAILSPIKE"; - rbl = "wl.mailspike.net"; + mailspike { + symbol = "MAILSPIKE"; + rbl = "rep.mailspike.net"; is_whitelist = true; unknown = true; - whitelist_exception = "RWL_MAILSPIKE"; + whitelist_exception = "MAILSPIKE"; whitelist_exception = "RWL_MAILSPIKE_GOOD"; + whitelist_exception = "RWL_MAILSPIKE_NEUTRAL"; whitelist_exception = "RWL_MAILSPIKE_POSSIBLE"; + whitelist_exception = "RBL_MAILSPIKE_WORST"; + whitelist_exception = "RBL_MAILSPIKE_VERYBAD"; + whitelist_exception = "RBL_MAILSPIKE_BAD"; returncodes { + RBL_MAILSPIKE_WORST = "127.0.0.10"; + RBL_MAILSPIKE_VERYBAD = "127.0.0.11"; + RBL_MAILSPIKE_BAD = "127.0.0.12"; + RWL_MAILSPIKE_NEUTRAL = ["127.0.0.16", "127.0.0.15", "127.0.0.14", "127.0.0.13"]; RWL_MAILSPIKE_POSSIBLE = "127.0.0.17"; RWL_MAILSPIKE_GOOD = "127.0.0.18"; RWL_MAILSPIKE_VERYGOOD = "127.0.0.19"; |