Bug 27677

Summary: miss BIND name server library
Product: Base System Reporter: slack <slack>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description slack 2001-05-27 06:10:01 UTC
I need recompile sendmail enable SMTP AUTH function, FreeBSD miss BIND library that sendmail need to resolv domainname

Fix: 

add BIND resolv library. or reinstall BIND from /usr/ports/net/bind8
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
Comment 1 Kris Kennaway freebsd_committer freebsd_triage 2001-08-19 11:12:39 UTC
Responsible Changed
From-To: freebsd-bugs->asmodai

asmodai has been maintaining bind
Comment 2 Jeroen Ruigrok van der Werven freebsd_committer freebsd_triage 2001-11-16 10:21:15 UTC
Responsible Changed
From-To: asmodai->freebsd-bugs

Move back to free pool.
Comment 3 dirk.meyer 2002-07-01 06:50:18 UTC
> 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]
Comment 4 Doug Barton freebsd_committer freebsd_triage 2002-07-02 03:19:28 UTC
State Changed
From-To: open->closed


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.