aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-12-16 17:10:36 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-12-16 17:10:36 +0000
commit5dcf4d6ebd8e87de3e58876daed89c90303d25fc (patch)
treee1798fa82470f0054b502ecd9565ebacebc85ba5 /src/plugins
parent42116dc41f8d4141f11489298c811683b7ef7cf7 (diff)
downloadrspamd-5dcf4d6ebd8e87de3e58876daed89c90303d25fc.tar.gz
rspamd-5dcf4d6ebd8e87de3e58876daed89c90303d25fc.zip
[Minor] Rbl: Add no_squeeze flag
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lua/rbl.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua
index 363f47874..3bbf46ff3 100644
--- a/src/plugins/lua/rbl.lua
+++ b/src/plugins/lua/rbl.lua
@@ -534,7 +534,7 @@ local function add_rbl(key, rbl)
rbl.symbol = key:upper()
end
- local flags_tbl = {}
+ local flags_tbl = {'no_squeeze'}
if rbl.is_whitelist then
flags_tbl[#flags_tbl + 1] = 'nice'
end
@@ -655,14 +655,14 @@ rspamd_config:register_symbol{
type = 'callback',
callback = rbl_callback_white,
name = 'RBL_CALLBACK_WHITE',
- flags = 'nice,empty'
+ flags = 'nice,empty,no_squeeze'
}
rspamd_config:register_symbol{
type = 'callback',
callback = rbl_callback_fin,
name = 'RBL_CALLBACK',
- flags = 'empty'
+ flags = 'empty,no_squeeze'
}
for _, w in ipairs(white_symbols) do