summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-07-04 13:26:29 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-07-04 13:26:29 +0100
commitd14da77f02f7229f3b608c384693fd16f1684626 (patch)
tree47867a73a2951cc56f4a7f63669fab59bf4a85d7 /src
parent6c414223195530524c12b1ea6bf80eb39748bc1d (diff)
downloadrspamd-d14da77f02f7229f3b608c384693fd16f1684626.tar.gz
rspamd-d14da77f02f7229f3b608c384693fd16f1684626.zip
[Fix] Fix messages quarantine
Diffstat (limited to 'src')
-rw-r--r--src/libserver/milter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libserver/milter.c b/src/libserver/milter.c
index c08513ea6..b6294d999 100644
--- a/src/libserver/milter.c
+++ b/src/libserver/milter.c
@@ -1807,6 +1807,9 @@ rspamd_milter_send_task_results (struct rspamd_milter_session *session,
/* TODO: be more flexible about SMTP messages */
rspamd_milter_send_action (session, RSPAMD_MILTER_QUARANTINE,
RSPAMD_MILTER_QUARANTINE_MESSAGE);
+
+ /* Quarantine also requires accept action, all hail Sendmail */
+ rspamd_milter_send_action (session, RSPAMD_MILTER_ACCEPT);
}
else {
rcode = rspamd_fstring_new_init (RSPAMD_MILTER_RCODE_REJECT,