diff options
Diffstat (limited to 'lualib/rspamadm/dns_tool.lua')
-rw-r--r-- | lualib/rspamadm/dns_tool.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lualib/rspamadm/dns_tool.lua b/lualib/rspamadm/dns_tool.lua index 91a726d09..8a4825563 100644 --- a/lualib/rspamadm/dns_tool.lua +++ b/lualib/rspamadm/dns_tool.lua @@ -164,6 +164,8 @@ local function spf_handler(opts) local result, flag_or_policy, error_or_addr if opts.ip then result, flag_or_policy, error_or_addr = record:check_ip(opts.ip) + elseif opts.all then + result = true end if opts.ip and not opts.all then if result then |