From 482d1455ebb7a291d9ee39a337e5837d8bc3feba Mon Sep 17 00:00:00 2001 From: Tom Kistner Date: Mon, 19 Oct 2009 14:20:58 +0000 Subject: Exempt TXT record names from sanity checks --- src/src/dns.c | 4 ++-- 1 file 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)]; -- cgit v1.2.3