1 /*************************************************
2 * Exim - an Internet mail transport agent *
3 *************************************************/
5 /* Experimental SPF support.
6 Copyright (c) The Exim Maintainers 2016 - 2022
7 Copyright (c) Tom Kistner <tom@duncanthrax.net> 2004
9 SPDX-License-Identifier: GPL-2.0-or-later
14 /* Yes, we do have ns_type. spf.h redefines it if we don't set this. Doh */
15 #if !defined(HAVE_NS_TYPE) && defined(NS_INADDRSZ)
20 #include <spf2/spf_dns_resolv.h>
21 #include <spf2/spf_dns_cache.h>
23 typedef struct spf_result_id {
29 gstring * spf_lib_version_report(gstring *);
31 BOOL spf_conn_init(uschar *, uschar *);
32 int spf_process(const uschar **, uschar *, int);
33 void spf_response_debug(SPF_response_t *);
35 #define SPF_PROCESS_NORMAL 0
36 #define SPF_PROCESS_GUESS 1
37 #define SPF_PROCESS_FALLBACK 2