From: Vsevolod Stakhov Date: Mon, 12 Jun 2017 11:03:09 +0000 (+0100) Subject: [Fix] Fix queue id macro in milter X-Git-Tag: 1.6.0~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d6958ad9de96ad854525f00d56af4d2952910eaa;p=rspamd.git [Fix] Fix queue id macro in milter --- diff --git a/src/libserver/milter.c b/src/libserver/milter.c index 18a9a8e24..e6b40a70b 100644 --- a/src/libserver/milter.c +++ b/src/libserver/milter.c @@ -1210,7 +1210,7 @@ rspamd_milter_macro_http (struct rspamd_milter_session *session, return; } - IF_MACRO("i") { + IF_MACRO("{i}") { rspamd_http_message_add_header_len (msg, QUEUE_ID_HEADER, found->begin, found->len); } @@ -1254,7 +1254,7 @@ rspamd_milter_macro_http (struct rspamd_milter_session *session, } else { /* Sendmail style */ - IF_MACRO("j") { + IF_MACRO("{j}") { rspamd_http_message_add_header_len (msg, MTA_NAME_HEADER, found->begin, found->len); }