diff options
author | Tom Kistner <tom@duncanthrax.net> | 2009-10-19 14:20:58 +0000 |
---|---|---|
committer | Tom Kistner <tom@duncanthrax.net> | 2009-10-19 14:20:58 +0000 |
commit | 482d1455ebb7a291d9ee39a337e5837d8bc3feba (patch) | |
tree | 973b4779f8d624f5175289177cdc3da3c19089f1 | |
parent | f4cd9433622adb0c7d1e326daf076b4283ac74e1 (diff) |
Exempt TXT record names from sanity checks
-rw-r--r-- | src/src/dns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/src/dns.c b/src/src/dns.c index deafedc7b..d05669c30 100644 --- a/src/src/dns.c +++ b/src/src/dns.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/dns.c,v 1.18 2009/06/10 07:34:04 tom Exp $ */ +/* $Cambridge: exim/src/src/dns.c,v 1.19 2009/10/19 14:20:58 tom Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -505,7 +505,7 @@ For SRV records, we omit the initial _smtp._tcp. components at the start. */ #ifndef STAND_ALONE /* Omit this for stand-alone tests */ -if (check_dns_names_pattern[0] != 0 && type != T_PTR) +if (check_dns_names_pattern[0] != 0 && type != T_PTR && type != T_TXT) { uschar *checkname = name; int ovector[3*(EXPAND_MAXN+1)]; |