]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Add FUZZY_BLOCKED symbol
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 16 May 2018 17:27:20 +0000 (18:27 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 16 May 2018 17:27:20 +0000 (18:27 +0100)
src/plugins/fuzzy_check.c

index 73c122a0f7e1be08c4ac28b8dbdba5d1dd92e038..0873d3c7addf98e0c41a0c1d7f2d6717708ae59f 100644 (file)
@@ -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) {