]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix messages quarantine
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 4 Jul 2018 12:26:29 +0000 (13:26 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 4 Jul 2018 12:26:29 +0000 (13:26 +0100)
src/libserver/milter.c

index c08513ea657cced0c098bc2666991b38d13b6b8b..b6294d9999770c4df6a75559a725fe6d324e3b77 100644 (file)
@@ -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,