Cheap method to follow redis cluster MOVED replies
[exim.git] / src / src / spf.c
index 9fdc0baec8ff4d0ae03d30ab3506bae5ecd6f2f0..12994a690d226b363d1b7a4282cb889925b6b1fa 100644 (file)
@@ -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