diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-11-05 14:32:51 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-11-05 14:32:51 +0000 |
commit | 2fca9bb67b7816df85ec17c2e479ebd02da3f39f (patch) | |
tree | 4c47f10fd64048a8ad5ed7d4623ffe3f36e68fe9 /src/plugins/fuzzy_check.c | |
parent | 578497bab343ec7372c9fd6a7e4ee3e0e4aca59f (diff) | |
download | rspamd-2fca9bb67b7816df85ec17c2e479ebd02da3f39f.tar.gz rspamd-2fca9bb67b7816df85ec17c2e479ebd02da3f39f.zip |
[Minor] Add dependency on mime types
Diffstat (limited to 'src/plugins/fuzzy_check.c')
-rw-r--r-- | src/plugins/fuzzy_check.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index b12afb7b9..6f9be9720 100644 --- a/src/plugins/fuzzy_check.c +++ b/src/plugins/fuzzy_check.c @@ -1136,6 +1136,10 @@ fuzzy_check_module_config (struct rspamd_config *cfg) } } } + + /* We want that to check bad mime attachments */ + rspamd_symcache_add_delayed_dependency (cfg->cache, + "FUZZY_CALLBACK", "MIME_TYPES_CALLBACK"); } if (fuzzy_module_ctx->fuzzy_rules == NULL) { |