From: Andrew Lewis Date: Mon, 13 Feb 2017 14:00:08 +0000 (+0200) Subject: [Minor] Fix rules X-Git-Tag: 1.5.0~117^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a012de49ab77089d46e8810ce60b0d79fecbce50;p=rspamd.git [Minor] Fix rules --- diff --git a/rules/misc.lua b/rules/misc.lua index 9127f68c9..d6d6909fc 100644 --- a/rules/misc.lua +++ b/rules/misc.lua @@ -693,7 +693,7 @@ rspamd_config:register_virtual_symbol('REPLYTO_DN_EQ_FROM_DN', 1.0, check_replyt rspamd_config:set_metric_symbol('REPLYTO_DN_EQ_FROM_DN', 0, 'Reply-To display name matches From') rspamd_config:register_virtual_symbol('REPLYTO_EMAIL_HAS_TITLE', 1.0, check_replyto_id) rspamd_config:set_metric_symbol('REPLYTO_EMAIL_HAS_TITLE', 2.0, check_replyto_id) -rspamd_config:register_dependency(check_replyto_id, check_from_id) +rspamd_config:register_dependency(check_replyto_id, 'FROM_NAME_HAS_TITLE') local check_mime_id = rspamd_config:register_callback_symbol('CHECK_MIME', 1.0, function (task)