diff options
| author | Sam Varshavchik | 2014-09-10 08:23:46 -0400 |
|---|---|---|
| committer | Sam Varshavchik | 2014-09-10 08:23:46 -0400 |
| commit | 03b832fe448f9da8bd16a190901d7b30c86e3cc1 (patch) | |
| tree | a0ea8b4483f98f2a33cb88774ba7efa49da56e9b /rfc1035/spf.c | |
| parent | 50f8f9a258a289a48d72b03db05baeca4ba4ce8f (diff) | |
| download | courier-libs-03b832fe448f9da8bd16a190901d7b30c86e3cc1.tar.bz2 | |
Fix SPF mx lookup failures.
When A/AAAA records are not included in the MX response, explicitly query
both A and AAAA records, instead of returning A records if they were found;
also query AAAA before A.
MX lookup for an SPF check -- new RFC1035_MX_QUERYALL flag to force
both A and AAAA queries.
Diffstat (limited to 'rfc1035/spf.c')
| -rw-r--r-- | rfc1035/spf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rfc1035/spf.c b/rfc1035/spf.c index 3839fde..efda0d9 100644 --- a/rfc1035/spf.c +++ b/rfc1035/spf.c @@ -856,7 +856,7 @@ static char mechanism(const char *name, } rc=rfc1035_mxlist_create_x(&info->res, - domain_spec, 0, + domain_spec, RFC1035_MX_QUERYALL, &mxlist); free(domain_spec); if (rc) |
