summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libmime/filter.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libmime/filter.c b/src/libmime/filter.c
index 99e888730..89bbfad10 100644
--- a/src/libmime/filter.c
+++ b/src/libmime/filter.c
@@ -381,7 +381,9 @@ rspamd_process_filters (struct rspamd_task *task)
if (!task->pass_all_filters &&
metric->actions[METRIC_ACTION_REJECT].score > 0 &&
check_metric_is_spam (task, metric)) {
- task->state = WRITE_REPLY;
+ msg_info ("<%s> has already scored more than %.2f, so do not "
+ "plan any more checks", task->message_id,
+ metric->actions[METRIC_ACTION_REJECT].score);
return 1;
}
cur = g_list_next (cur);