diff options
| author | Sam Varshavchik | 2016-03-06 10:54:49 -0500 |
|---|---|---|
| committer | Sam Varshavchik | 2016-03-06 10:54:49 -0500 |
| commit | c426662291dde3770c717e035b5d67993102fd21 (patch) | |
| tree | aec8b8cf3537691834fe23b56e629fe59ac8119a | |
| parent | 39221e5683cdca9c32ecea46424f6b9c1318b3c4 (diff) | |
| download | courier-libs-c426662291dde3770c717e035b5d67993102fd21.tar.bz2 | |
"mx" keyword a no-op MX-less domains, rather than returning "error".
| -rw-r--r-- | rfc1035/spf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rfc1035/spf.c b/rfc1035/spf.c index d2d2e8e..f811aad 100644 --- a/rfc1035/spf.c +++ b/rfc1035/spf.c @@ -914,7 +914,8 @@ static char mechanism(const char *name, domain_spec, RFC1035_MX_QUERYALL, &mxlist); free(domain_spec); - if (rc) + + if (rc && rc != RFC1035_MX_HARDERR) { rfc1035_mxlist_free(mxlist); set_err_msg(info->errmsg_buf, info->errmsg_buf_size, |
