summaryrefslogtreecommitdiffstats
path: root/rules/mid.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-11-26 14:49:26 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-11-26 14:49:26 +0000
commit94dc5f1a7dc677a1e4d1aef0163da59392b8311f (patch)
treede7cd6c4e161d8bfaf07186da1598eff1a77f3bf /rules/mid.lua
parent2708a3ba19620c3f8f180f26ca39a92969484804 (diff)
downloadrspamd-94dc5f1a7dc677a1e4d1aef0163da59392b8311f.tar.gz
rspamd-94dc5f1a7dc677a1e4d1aef0163da59392b8311f.zip
[Minor] Really set group
Diffstat (limited to 'rules/mid.lua')
-rw-r--r--rules/mid.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/rules/mid.lua b/rules/mid.lua
index 92d0118b2..6037ccf12 100644
--- a/rules/mid.lua
+++ b/rules/mid.lua
@@ -53,14 +53,14 @@ end
local check_mid_id = rspamd_config:register_callback_symbol('CHECK_MID', 1.0,
mid_check_func)
rspamd_config:register_virtual_symbol('MID_BARE_IP', 1.0, check_mid_id)
-rspamd_config:set_metric_symbol('MID_BARE_IP', 2.0, 'Message-ID RHS is a bare IP address', 'Message ID')
+rspamd_config:set_metric_symbol('MID_BARE_IP', 2.0, 'Message-ID RHS is a bare IP address', 'default', 'Message ID')
rspamd_config:register_virtual_symbol('MID_RHS_NOT_FQDN', 1.0, check_mid_id)
-rspamd_config:set_metric_symbol('MID_RHS_NOT_FQDN', 0.5, 'Message-ID RHS is not a fully-qualified domain name', 'Message ID')
+rspamd_config:set_metric_symbol('MID_RHS_NOT_FQDN', 0.5, 'Message-ID RHS is not a fully-qualified domain name', 'default', 'Message ID')
rspamd_config:register_virtual_symbol('MID_MISSING_BRACKETS', 1.0, check_mid_id)
-rspamd_config:set_metric_symbol('MID_MISSING_BRACKETS', 0.5, 'Message-ID is missing <>\'s', 'Message ID')
+rspamd_config:set_metric_symbol('MID_MISSING_BRACKETS', 0.5, 'Message-ID is missing <>\'s', 'default', 'Message ID')
rspamd_config:register_virtual_symbol('MID_RHS_IP_LITERAL', 1.0, check_mid_id)
-rspamd_config:set_metric_symbol('MID_RHS_IP_LITERAL', 0.5, 'Message-ID RHS is an IP-literal', 'Message ID')
+rspamd_config:set_metric_symbol('MID_RHS_IP_LITERAL', 0.5, 'Message-ID RHS is an IP-literal', 'default', 'Message ID')
rspamd_config:register_virtual_symbol('MID_CONTAINS_FROM', 1.0, check_mid_id)
-rspamd_config:set_metric_symbol('MID_CONTAINS_FROM', 1.0, 'Message-ID contains From address', 'Message ID')
+rspamd_config:set_metric_symbol('MID_CONTAINS_FROM', 1.0, 'Message-ID contains From address', 'default', 'Message ID')
rspamd_config:register_virtual_symbol('MID_RHS_MATCH_FROM', 1.0, check_mid_id)
-rspamd_config:set_metric_symbol('MID_RHS_MATCH_FROM', 1.0, 'Message-ID RHS matches From domain', 'Message ID') \ No newline at end of file
+rspamd_config:set_metric_symbol('MID_RHS_MATCH_FROM', 1.0, 'Message-ID RHS matches From domain', 'default', 'Message ID') \ No newline at end of file