diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-02-09 16:37:34 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-02-09 16:37:34 +0000 |
commit | d821fa1eb3db12446ce83dd78d4563b0a5c75fd8 (patch) | |
tree | 0a54711780d4055e56df94fd691d3dd78deda28b /src/libmime/mime_headers.c | |
parent | 715e1bd6a996cb608b4e740ff5d8e6ca876fa16c (diff) | |
download | rspamd-d821fa1eb3db12446ce83dd78d4563b0a5c75fd8.tar.gz rspamd-d821fa1eb3db12446ce83dd78d4563b0a5c75fd8.zip |
[Feature] Store all received headers in lua
Diffstat (limited to 'src/libmime/mime_headers.c')
-rw-r--r-- | src/libmime/mime_headers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libmime/mime_headers.c b/src/libmime/mime_headers.c index 35c13d1f3..bff84efcc 100644 --- a/src/libmime/mime_headers.c +++ b/src/libmime/mime_headers.c @@ -37,6 +37,7 @@ rspamd_mime_header_check_special (struct rspamd_task *task, case 0x88705DC4D9D61ABULL: /* received */ recv = rspamd_mempool_alloc0 (task->task_pool, sizeof (struct received_header)); + recv->hdr = rh; rspamd_smtp_recieved_parse (task, rh->decoded, strlen (rh->decoded), recv); g_ptr_array_add (task->received, recv); |