aboutsummaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
Diffstat (limited to 'rules')
-rw-r--r--rules/rspamd.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/rules/rspamd.lua b/rules/rspamd.lua
index a9a38a997..75dd2b3d9 100644
--- a/rules/rspamd.lua
+++ b/rules/rspamd.lua
@@ -53,6 +53,11 @@ end
if file_exists(local_conf .. '/rspamd.local.lua') then
dofile(local_conf .. '/rspamd.local.lua')
+else
+ -- Legacy lua/rspamd.local.lua
+ if file_exists(local_conf .. '/lua/rspamd.local.lua') then
+ dofile(local_conf .. '/lua/rspamd.local.lua')
+ end
end
if file_exists(local_rules .. '/rspamd.classifiers.lua') then