From: Vsevolod Stakhov Date: Mon, 5 Nov 2018 14:32:51 +0000 (+0000) Subject: [Minor] Add dependency on mime types X-Git-Tag: 1.8.2~78 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2fca9bb67b7816df85ec17c2e479ebd02da3f39f;p=thirdparty%2Frspamd.git [Minor] Add dependency on mime types --- diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index b12afb7b94..6f9be97201 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) {