Browse Source

Since exclude_private_ips requires config to change behaviour now we can make it default true

tags/0.9.0
Andrew Lewis 9 years ago
parent
commit
9e1b3fd96d
3 changed files with 2 additions and 3 deletions
  1. 0
    1
      conf/modules.conf
  2. 1
    1
      doc/markdown/modules/rbl.md
  3. 1
    1
      src/plugins/lua/rbl.lua

+ 0
- 1
conf/modules.conf View File

@@ -87,7 +87,6 @@ rbl {
default_from = true;
default_received = false;
default_exclude_users = true;
default_exclude_private_ips = true;

private_ips = "127.0.0.0/8 10.0.0.0/8 192.168.0.0/16 169.254.0.0/16 172.16.0.0/12 100.64.0.0/10 fc00::/7 fe80::/10 fec0::/10 ::1";


+ 1
- 1
doc/markdown/modules/rbl.md View File

@@ -57,7 +57,7 @@ If set to false, do not yield a result unless the response received from the RBL

If set to true, do not use this RBL if the message sender is authenticated.

- default_exclude_private_ips (false)
- default_exclude_private_ips (true)

If true & private_ips is set appropriately, do not use the RBL if the sending host address is in the private IP list & do not check received headers baring these addresses.


+ 1
- 1
src/plugins/lua/rbl.lua View File

@@ -327,7 +327,7 @@ if(opts['default_exclude_users'] == nil) then
opts['default_exclude_users'] = false
end
if(opts['default_exclude_private_ips'] == nil) then
opts['default_exclude_private_ips'] = false
opts['default_exclude_private_ips'] = true
end
if(opts['default_exclude_local'] == nil) then
opts['default_exclude_local'] = true

Loading…
Cancel
Save