diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-07-04 13:26:29 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-07-04 13:26:29 +0100 |
commit | d14da77f02f7229f3b608c384693fd16f1684626 (patch) | |
tree | 47867a73a2951cc56f4a7f63669fab59bf4a85d7 /src | |
parent | 6c414223195530524c12b1ea6bf80eb39748bc1d (diff) | |
download | rspamd-d14da77f02f7229f3b608c384693fd16f1684626.tar.gz rspamd-d14da77f02f7229f3b608c384693fd16f1684626.zip |
[Fix] Fix messages quarantine
Diffstat (limited to 'src')
-rw-r--r-- | src/libserver/milter.c | 3 |
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, |