diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libserver/spf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libserver/spf.c b/src/libserver/spf.c index a5f0d5b48..78250da53 100644 --- a/src/libserver/spf.c +++ b/src/libserver/spf.c @@ -576,6 +576,10 @@ spf_process_txt_record (struct spf_record *rec, struct spf_resolved_element *res if (strncmp (elt->content.txt.data, "v=spf1", sizeof ("v=spf1") - 1) == 0) { selected = elt; + rspamd_mempool_set_variable (rec->task->task_pool, + RSPAMD_MEMPOOL_SPF_RECORD, + rspamd_mempool_strdup (rec->task->task_pool, + elt->content.txt.data), NULL); break; } } |