]> source.dussan.org Git - rspamd.git/commitdiff
[Project] Fix flags header when dealing with milter connections
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 18 Jul 2019 14:36:56 +0000 (15:36 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 18 Jul 2019 14:36:56 +0000 (15:36 +0100)
src/libserver/milter.c

index 50a84a42ad104cd486ea785317f2007b10415b5f..04fe8b88211411e63ea6c49222dcbf769f011f47 100644 (file)
@@ -1497,7 +1497,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");
+       rspamd_http_message_add_header (msg, FLAGS_HEADER, "milter,body_block");
 
        return msg;
 }