aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2015-08-19 15:31:50 +0200
committerAndrew Lewis <nerf@judo.za.org>2015-08-19 15:33:50 +0200
commite58ee7df16b4dc74a1976dd44b219b4ac48925d8 (patch)
tree6136e4d4789a9033cdf5003a4c834af1e470e5ed /src/plugins
parent629c905ad9b966593110caea09da6a9b68ba67f8 (diff)
downloadrspamd-e58ee7df16b4dc74a1976dd44b219b4ac48925d8.tar.gz
rspamd-e58ee7df16b4dc74a1976dd44b219b4ac48925d8.zip
Use symbol_allow from DKIM module if set
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lua/rbl.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua
index 8dfb7b5ed..45782ba19 100644
--- a/src/plugins/lua/rbl.lua
+++ b/src/plugins/lua/rbl.lua
@@ -41,6 +41,11 @@ local symbols = {
dkim_allow_symbol = 'R_DKIM_ALLOW',
}
+local dkim_config = rspamd_config:get_all_opt("dkim")
+if dkim_config['symbol_allow'] then
+ symbols['dkim_allow_symbol'] = dkim_config['symbol_allow']
+end
+
local function validate_dns(lstr)
if lstr:match('%.%.') then
return false