aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/task.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-28 22:58:20 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-28 22:58:20 +0000
commit0c9184dcbde07a7f9cf04835ce10b45891f4c628 (patch)
tree8241c348605aa072b1e8e16d7cf0efdaa8131ab1 /src/libserver/task.h
parentf309a84d17bce0456f369b693ae270288e72892f (diff)
downloadrspamd-0c9184dcbde07a7f9cf04835ce10b45891f4c628.tar.gz
rspamd-0c9184dcbde07a7f9cf04835ce10b45891f4c628.zip
[Feature] Add priorities for actions
Add dedicated API to modify action limits with priorities from different configuration place. This follows the logic of symbols' priorities and will be used for dynamic rules and override definitions.
Diffstat (limited to 'src/libserver/task.h')
-rw-r--r--src/libserver/task.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/libserver/task.h b/src/libserver/task.h
index 749f3adc2..a653b0a47 100644
--- a/src/libserver/task.h
+++ b/src/libserver/task.h
@@ -37,16 +37,6 @@ enum rspamd_command {
CMD_OTHER
};
-enum rspamd_metric_action {
- METRIC_ACTION_REJECT = 0,
- METRIC_ACTION_SOFT_REJECT,
- METRIC_ACTION_REWRITE_SUBJECT,
- METRIC_ACTION_ADD_HEADER,
- METRIC_ACTION_GREYLIST,
- METRIC_ACTION_NOACTION,
- METRIC_ACTION_MAX
-};
-
enum rspamd_task_stage {
RSPAMD_TASK_STAGE_CONNECT = (1 << 0),
RSPAMD_TASK_STAGE_ENVELOPE = (1 << 1),