aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/milter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/milter.h')
-rw-r--r--src/libserver/milter.h6
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