diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-11-23 20:02:32 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-11-23 20:02:32 +0000 |
commit | 929a9746c963fba0b3c59f35a06f9100d0fac13a (patch) | |
tree | 4cf28274fd84578a8f3dda21972b289102990af5 /src/libserver/milter.h | |
parent | feb910e287c215d5a1b6a03856ad2a1cbd36a394 (diff) | |
download | rspamd-929a9746c963fba0b3c59f35a06f9100d0fac13a.tar.gz rspamd-929a9746c963fba0b3c59f35a06f9100d0fac13a.zip |
[Feature] Allow to quarantine rejected messages using milter interface
Diffstat (limited to 'src/libserver/milter.h')
-rw-r--r-- | src/libserver/milter.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libserver/milter.h b/src/libserver/milter.h index 8769a8230..eae99eff2 100644 --- a/src/libserver/milter.h +++ b/src/libserver/milter.h @@ -36,7 +36,8 @@ enum rspamd_milter_reply { RSPAMD_MILTER_TEMPFAIL = 't', RSPAMD_MILTER_REPLYCODE = 'y', RSPAMD_MILTER_OPTNEG = 'O', - RSPAMD_MILTER_PROGRESS = 'p' + RSPAMD_MILTER_PROGRESS = 'p', + RSPAMD_MILTER_QUARANTINE = 'q', }; struct rspamd_email_address; @@ -151,7 +152,8 @@ void rspamd_milter_send_task_results (struct rspamd_milter_session *session, * @param spam_header spam header name (must NOT be NULL) */ void rspamd_milter_init_library (const gchar *spam_header, - void *sessions_cache, gboolean discard_on_reject); + void *sessions_cache, gboolean discard_on_reject, + gboolean quarantine_on_reject); /** * Returns pool for a session |