From nobody@FreeBSD.org  Sat May 26 22:08:20 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 34A0F37B422
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 26 May 2001 22:08:20 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f4R58Kg52863;
	Sat, 26 May 2001 22:08:20 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200105270508.f4R58Kg52863@freefall.freebsd.org>
Date: Sat, 26 May 2001 22:08:20 -0700 (PDT)
From: slack@suntop-cn.com
To: freebsd-gnats-submit@FreeBSD.org
Subject: miss BIND name server library
X-Send-Pr-Version: www-1.0

>Number:         27677
>Category:       misc
>Synopsis:       miss BIND name server library
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 26 22:10:01 PDT 2001
>Closed-Date:    Mon Jul 01 19:20:36 PDT 2002
>Last-Modified:  Mon Jul 01 19:20:36 PDT 2002
>Originator:     edwin chan
>Release:        FreeBSD
>Organization:
Guangzhou Suntop industry Co. Ltd
>Environment:
www# uname -a
FreeBSD www.suntop-cn.com 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:4
9 GMT 2001     jkh@narf.osd.bsdi.com:/usr/src/sys/compile/GENERIC  i386

>Description:
I need recompile sendmail enable SMTP AUTH function, FreeBSD miss BIND library that sendmail need to resolv domainname
>How-To-Repeat:
1. installed /usr/ports/security/cyrus-sasl
2. installed /usr/ports/mail/sendmail with uncomment follow two line:
SENDMAIL_WITH_TLS=YES
SENDMAIL_WITH_SASL=YES
3. setup enable SMTP AUTH function (with login passwd):
sendmail.cf:
# list of authentication mechanisms
#O AuthMechanisms=GSSAPI KERBEROS_V4 DIGEST-MD5 CRAM-MD5
O AuthMechanisms=LOGIN DIGEST-MD5 CRAM-MD5

/usr/local/lib/sasl/Sendmail.conf:
pwcheck_method: passwd
4. stop bind name server locally, point resolv.conf to other DNS server
then sendmail to this server, alway produce domain name unresolved error


>Fix:
add BIND resolv library. or reinstall BIND from /usr/ports/net/bind8
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->asmodai 
Responsible-Changed-By: kris 
Responsible-Changed-When: Sun Aug 19 03:12:39 PDT 2001 
Responsible-Changed-Why:  
asmodai has been maintaining bind 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27677 
Responsible-Changed-From-To: asmodai->freebsd-bugs 
Responsible-Changed-By: asmodai 
Responsible-Changed-When: Fri Nov 16 02:21:15 PST 2001 
Responsible-Changed-Why:  
Move back to free pool. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27677 

From: dirk.meyer@dinoex.sub.org (Dirk Meyer)
To: freebsd-gnats-submit@FreeBSD.org, slack@suntop-cn.com,
	DougB@FreeBSD.org
Cc:  
Subject: misc/27677: miss BIND name server library
Date: Mon, 01 Jul 2002 07:50:18 +0200

 > 4. stop bind name server locally, point resolv.conf to other DNS server
 > then sendmail to this server, alway produce domain name unresolved error
 
 Sednmail has opened the resolver lib at start, parsing resolv.conf then.
 When you change resolv.conf, only new started processes will use it.
 
 You have no other options to stop and restart each server process that
 is using the bind service.
 
 restart sendmail processes will fix your problem:
 $ killall -HUP sendmail
 
 kind regards Dirk
 
 - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
 - [dirk.meyer@dinoex.sub.org],[dirk.meyer@guug.de],[dinoex@FreeBSD.org]
State-Changed-From-To: open->closed 
State-Changed-By: dougb 
State-Changed-When: Mon Jul 1 19:19:28 PDT 2002 
State-Changed-Why:  

The advice to kill and restart (or -HUP) sendmail after changing 
/etc/resolv.conf seems like the correct fix for your problem. 

If you're still having trouble, please send an e-mail to 
freebsd-questions@freebsd.org with more details. 

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