From nork@FreeBSD.org  Wed Oct  8 01:52:09 2003
Return-Path: <nork@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 4433016A4B3; Wed,  8 Oct 2003 01:52:09 -0700 (PDT)
Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id EA1C443FDD; Wed,  8 Oct 2003 01:52:05 -0700 (PDT)
	(envelope-from nork@FreeBSD.org)
Received: from nd250009.gab.xdsl.ne.jp ([IPv6:2002:d312:f91e::1]) (authenticated bits=0) by sakura.ninth-nine.com (8.12.9p2/8.12.9/NinthNine) with ESMTP id h988q2iS074099 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 8 Oct 2003 17:52:03 +0900 (JST) (envelope-from nork@FreeBSD.org)
Message-Id: <200310080852.h988q2iS074099@sakura.ninth-nine.com>
Date: Wed, 8 Oct 2003 17:52:03 +0900 (JST)
From: Norikatsu Shigemura <nork@FreeBSD.org>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc: gshapiro@FreeBSD.org, ume@FreeBSD.org, tech-sup@ensure-tech.co.jp
Subject: WorkAroundBrokenAAAA is required in submit.mc

>Number:         57733
>Category:       conf
>Synopsis:       WorkAroundBrokenAAAA is required in submit.mc
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    gshapiro
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 08 02:00:32 PDT 2003
>Closed-Date:    Thu Oct 30 15:05:14 PST 2003
>Last-Modified:  Thu Oct 30 15:05:14 PST 2003
>Originator:     Norikatsu Shigemura
>Release:        FreeBSD 4.8-RELEASE-p13 i386
>Organization:
Ensure Technology Ltd. (http://www.ensure-tech.co.jp/)
>Environment:
System: FreeBSD XXX.ensure.ne.jp 4.8-RELEASE-p13 FreeBSD 4.8-RELEASE-p13 #2: Tue Oct 4 13:45:53 JST 2003 root@XXX.ensure.ne.jp:/usr/obj/usr/src/sys/ENSURE i386
	/usr/sbin/sendmail(/usr/libexec/sendmail/sendmail) 8.12.8p2
	/usr/sbin/named 8.3.4-REL
>Description:
	I sent a mail via sendmail with -o DeliveryMode=q.
	But I couldn't send to A site(YYY.YYYYY.YY.YY in this case).
	I researched this behavior.  I got a log with 'sendmail
	-q -v -Ac -d60.255 -d38.255 -d8.255'.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Running /var/spool/clientmqueue/XXXXXXXXX02694 (sequence X of XX)
map_lookup(host, XXX.ensure.ne.jp, %0=XXX.ensure.ne.jp) => XXX.ensure.ne.jp. (0)
map_lookup(host, XXX.ensure.ne.jp, %0=XXX.ensure.ne.jp) => XXX.ensure.ne.jp. (0)
map_lookup(host, YYY.YYYYY.YY.YY, %0=YYY.YYYYY.YY.YY) => getcanonname(YYY.YYYYY.YY.YY), trying dns
dns_getcanonname(YYY.YYYYY.YY.YY, trymx=1)
dns_getcanonname: trying YYY.YYYYY.YY.YY. (AAAA)
        NO: errno=60, h_errno=2
getcanonname(YYY.YYYYY.YY.YY), trying files
	:
[MAIL WASNOT SENT]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

	AAAA query is falure.  Then I added define(`confBIND_OPTS',
	`WorkAroundBrokenAAAA') to submit.mc. And to send was good!

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Running /var/spool/clientmqueue/XXXXXXXXX02694 (sequence X of XX)
map_lookup(host, XXX.ensure.ne.jp, %0=XXX.ensure.ne.jp) => XXX.ensure.ne.jp. (0)
map_lookup(host, XXX.ensure.ne.jp, %0=XXX.ensure.ne.jp) => XXX.ensure.ne.jp. (0)
map_lookup(host, YYY.YYYYY.YY.YY, %0=YYY.YYYYY.YY.YY) => getcanonname(YYY.YYYYY.YY.YY), trying dns
dns_getcanonname(YYY.YYYYY.YY.YY, trymx=1)
dns_getcanonname: trying YYY.YYYYY.YY.YY. (AAAA)
        NO: errno=60, h_errno=2
dns_getcanonname: trying YYY.YYYYY.YY.YY. (A)
;; res_querydomain(XXX.ensure.ne.jp, <Nil>, 1, 1)
	:
dns_getcanonname: YYY.YYYYY.YY.YY
getcanonname(YYY.YYYYY.YY.YY), found
YYY.YYYYY.YY.YY. (0)
map_lookup(host, YYY.YYYYY.YY.YY, %0=YYY.YYYYY.YY.YY) => YYY.YYYYY.YY.YY. (0)
map_lookup(dequote, ZZZZZZZ, %0=ZZZZZZZ) => NOT FOUND (0)
map_lookup(host, XXX.ensure.ne.jp, %0=XXX.ensure.ne.jp) => XXX.ensure.ne.jp. (0)
	:
[MAIL WAS SENT!!]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

>How-To-Repeat:
	Unknown.
>Fix:
	Please add define(`confBIND_OPTS', `WorkAroundBrokenAAAA')
	to /etc/mail/freebsd.submit.mc (& /etc/mail/submit.cf).
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->gshapiro 
Responsible-Changed-By: kris 
Responsible-Changed-When: Fri Oct 17 17:40:46 PDT 2003 
Responsible-Changed-Why:  
Assign to sendmail maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57733 
State-Changed-From-To: open->patched 
State-Changed-By: gshapiro 
State-Changed-When: Sat Oct 18 17:12:19 PDT 2003 
State-Changed-Why:  
The fix has been checked into the HEAD.  It will be MFC'ed to RELENG_4 
after the code freeze ends.  Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57733 
State-Changed-From-To: patched->closed 
State-Changed-By: gshapiro 
State-Changed-When: Thu Oct 30 15:04:57 PST 2003 
State-Changed-Why:  
The fix has been MFC'ed to RELENG_4. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57733 
>Unformatted:
