]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Add milter flag when using milter protocol
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 24 Jun 2017 23:04:12 +0000 (00:04 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 24 Jun 2017 23:04:12 +0000 (00:04 +0100)
src/libserver/milter.c

index 65b0e6a545e556b7ea97bf0ae8737dbbb20f7686..b543a9b63275f7bf4f88564643308cbfe5008d01 100644 (file)
@@ -1326,6 +1326,7 @@ rspamd_milter_to_http (struct rspamd_milter_session *session)
        }
 
        rspamd_milter_macro_http (session, msg);
+       rspamd_http_message_add_header (msg, MILTER_HEADER, "Yes");
 
        return msg;
 }