diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-06-12 12:03:09 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-06-12 12:03:09 +0100 |
commit | d6958ad9de96ad854525f00d56af4d2952910eaa (patch) | |
tree | fe9599e0844fdb7c2805b2a60954b9e6b9dc396f /src | |
parent | 63f496b42a2d80f4a7609e666d21a70e5d44a60f (diff) | |
download | rspamd-d6958ad9de96ad854525f00d56af4d2952910eaa.tar.gz rspamd-d6958ad9de96ad854525f00d56af4d2952910eaa.zip |
[Fix] Fix queue id macro in milter
Diffstat (limited to 'src')
-rw-r--r-- | src/libserver/milter.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |