From: Vsevolod Stakhov Date: Wed, 16 May 2018 17:27:20 +0000 (+0100) Subject: [Minor] Add FUZZY_BLOCKED symbol X-Git-Tag: 1.7.5~12 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=831093401d7445a4f8870fac730246476c3c7c2a;p=rspamd.git [Minor] Add FUZZY_BLOCKED symbol --- diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index 73c122a0f..0873d3c7a 100644 --- a/src/plugins/fuzzy_check.c +++ b/src/plugins/fuzzy_check.c @@ -2013,9 +2013,8 @@ fuzzy_check_try_read (struct fuzzy_client_session *session) } } else if (rep->v1.value == 403) { - msg_info_task ( - "fuzzy check error for %d: forbidden", - rep->v1.flag); + rspamd_task_insert_result (task, "FUZZY_BLOCKED", 0.0, + session->rule->name); } else if (rep->v1.value == 401) { if (cmd->cmd != FUZZY_CHECK) {