diff options
-rw-r--r-- | conf/modules.conf | 4 | ||||
-rw-r--r-- | src/plugins/lua/rbl.lua | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/conf/modules.conf b/conf/modules.conf index 160680fd2..9d33430e2 100644 --- a/conf/modules.conf +++ b/conf/modules.conf @@ -83,6 +83,10 @@ surbl { } } rbl { + + default_from = true; + default_received = false; + rbls { spamhaus { diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index bdfe3500b..3738af3cf 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -120,10 +120,10 @@ if(opts['default_ipv6'] == nil) then opts['default_ipv6'] = false end if(opts['default_received'] == nil) then - opts['default_received'] = false + opts['default_received'] = true end if(opts['default_from'] == nil) then - opts['default_from'] = true + opts['default_from'] = false end if(opts['default_unknown'] == nil) then opts['default_unknown'] = false |