aboutsummaryrefslogtreecommitdiffstats
path: root/rules/misc.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-15 16:24:44 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-15 16:24:44 +0000
commit5321190dc5e445cb5a81143be7bfd6fe0afc13b0 (patch)
tree0b18a4b5ef360b180eaa2c7ddb3bd0fa8c227c02 /rules/misc.lua
parentd54cddeeee88a24bcfa75a9144989812fcd11208 (diff)
downloadrspamd-5321190dc5e445cb5a81143be7bfd6fe0afc13b0.tar.gz
rspamd-5321190dc5e445cb5a81143be7bfd6fe0afc13b0.zip
[Project] Add some generic code to squeeze lua rules
Diffstat (limited to 'rules/misc.lua')
-rw-r--r--rules/misc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules/misc.lua b/rules/misc.lua
index 702431c1a..2646e42d6 100644
--- a/rules/misc.lua
+++ b/rules/misc.lua
@@ -338,8 +338,8 @@ local freemail_reply_neq_from_id = rspamd_config:register_symbol({
score = 3.0,
group = 'headers',
})
-rspamd_config:register_dependency(freemail_reply_neq_from_id, 'FREEMAIL_REPLYTO')
-rspamd_config:register_dependency(freemail_reply_neq_from_id, 'FREEMAIL_FROM')
+rspamd_config:register_dependency('FREEMAIL_REPLYTO_NEQ_FROM_DOM', 'FREEMAIL_REPLYTO')
+rspamd_config:register_dependency('FREEMAIL_REPLYTO_NEQ_FROM_DOM', 'FREEMAIL_FROM')
rspamd_config.OMOGRAPH_URL = {
callback = function(task)