diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-01-07 15:41:23 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-01-07 15:41:23 +0000 |
commit | d9f3f32336c7b8b063359c6d54a99e07dbead766 (patch) | |
tree | b5bebc37da7d7d0daaad42d47fb1249f5bb79aff /rules/mid.lua | |
parent | f358aec84f8bc2aa38c17a79d79b7a0b26faa4a0 (diff) | |
download | rspamd-d9f3f32336c7b8b063359c6d54a99e07dbead766.tar.gz rspamd-d9f3f32336c7b8b063359c6d54a99e07dbead766.zip |
[Minor] Add some mime only rules
Diffstat (limited to 'rules/mid.lua')
-rw-r--r-- | rules/mid.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/mid.lua b/rules/mid.lua index b04a8bb46..b74ff13df 100644 --- a/rules/mid.lua +++ b/rules/mid.lua @@ -71,7 +71,7 @@ local check_mid_id = rspamd_config:register_symbol({ name = 'CHECK_MID', score = 0.0, group = 'mid', - type = 'callback', + type = 'callback,mime', callback = mid_check_func }) rspamd_config:register_virtual_symbol('MID_BARE_IP', 1.0, check_mid_id) |