X-Git-Url: https://vcs.fsf.org/?p=exim.git;a=blobdiff_plain;f=src%2Fsrc%2Fspf.c;h=a2f93b0ce535c4862f0c60d60d44b4c5aa4801e0;hp=9fdc0baec8ff4d0ae03d30ab3506bae5ecd6f2f0;hb=dfbcb5ac660065b097b0ad0cb2c26357899f0c64;hpb=b808677c8f0d6a1cf93ff75f4ad5b1199bd85311 diff --git a/src/src/spf.c b/src/src/spf.c index 9fdc0baec..a2f93b0ce 100644 --- a/src/src/spf.c +++ b/src/src/spf.c @@ -146,4 +146,16 @@ while ((spf_result_id = string_nextinlist(&list, &sep, NULL, 0))) return FAIL; } + + +gstring * +authres_spf(gstring * g) +{ +if (!spf_result) return g; + +return string_append(g, 4, US";\\n\\tspf=", spf_result, + US" smtp.mailfrom=", expand_string(US"$sender_address_domain")); +} + + #endif