aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_file.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-01-26 13:26:36 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-01-26 13:26:36 +0000
commit2ac0fbea2763ff9913c7924495c39869ddad924b (patch)
tree489dd293c6443bd363d375f8eb1336bb04ab4379 /src/libserver/cfg_file.h
parent8afab41b202cc9bdffc662f9f8a007f40d0fce52 (diff)
downloadrspamd-2ac0fbea2763ff9913c7924495c39869ddad924b.tar.gz
rspamd-2ac0fbea2763ff9913c7924495c39869ddad924b.zip
[Minor] Core: Add milter actions concept
Diffstat (limited to 'src/libserver/cfg_file.h')
-rw-r--r--src/libserver/cfg_file.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libserver/cfg_file.h b/src/libserver/cfg_file.h
index 5c245a31b..8ecb84d26 100644
--- a/src/libserver/cfg_file.h
+++ b/src/libserver/cfg_file.h
@@ -270,6 +270,8 @@ enum rspamd_action_type {
METRIC_ACTION_NOACTION,
METRIC_ACTION_MAX,
METRIC_ACTION_CUSTOM = 999,
+ METRIC_ACTION_MILTER_DISCARD,
+ METRIC_ACTION_MILTER_QUARANTINE
};
enum rspamd_action_flags {
@@ -277,6 +279,7 @@ enum rspamd_action_flags {
RSPAMD_ACTION_NO_THRESHOLD = (1u << 0),
RSPAMD_ACTION_THRESHOLD_ONLY = (1u << 1),
RSPAMD_ACTION_HAM = (1u << 2),
+ RSPAMD_ACTION_MILTER = (1u << 3),
};