#include "libutil/libev_helper.h"
#define DEFAULT_SYMBOL "R_FUZZY_HASH"
-#define RSPAMD_FUZZY_SYMBOL_BLOCKED "FUZZY_BLOCKED"
+#define RSPAMD_FUZZY_SYMBOL_FORBIDDEN "FUZZY_FORBIDDEN"
#define RSPAMD_FUZZY_SYMBOL_RATELIMITED "FUZZY_RATELIMITED"
#define DEFAULT_IO_TIMEOUT 1.0
/* Register meta symbols (blocked, ratelimited, etc) */
rspamd_symcache_add_symbol(cfg->cache,
- RSPAMD_FUZZY_SYMBOL_BLOCKED, 0, NULL, NULL,
+ RSPAMD_FUZZY_SYMBOL_FORBIDDEN, 0, NULL, NULL,
SYMBOL_TYPE_VIRTUAL,
cb_id);
rspamd_config_add_symbol(cfg,
- RSPAMD_FUZZY_SYMBOL_BLOCKED,
+ RSPAMD_FUZZY_SYMBOL_FORBIDDEN,
0.0,
"Fuzzy access denied",
"fuzzy",
session->rule->name);
}
else if (rep->v1.value == 503) {
- rspamd_task_insert_result(task, RSPAMD_FUZZY_SYMBOL_BLOCKED, 1.0,
+ rspamd_task_insert_result(task, RSPAMD_FUZZY_SYMBOL_FORBIDDEN, 1.0,
session->rule->name);
}
else if (rep->v1.value == 401) {