*BSD News Article 50606


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!lll-winken.llnl.gov!ames!usenet.kornet.nm.kr!xpat.postech.ac.kr!gloria.postech.ac.kr!kwak
From: kwak@gloria.postech.ac.kr (Kwak Jong-Geun)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Question about sendmail configuration.
Date: 4 Sep 1995 06:41:48 GMT
Organization: POSTECH, Pohang, Korea
Lines: 50
Message-ID: <42e73c$2eo@xpat.postech.ac.kr>
NNTP-Posting-Host: gloria.postech.ac.kr
X-Newsreader: TIN [version 1.2 PL2]

hi, 
I have trouble with sendmail, in FreeBSD 2.0.5R.
sendmail can't find hostname when i address recipient as the form 'kwak@madonna'.

	glria(30)> echo test |sendmail -v kwak@madonna
	kwak@madonna... Host unknown (Name server: madonna: host not found)
	Saving message in /home1/NLP/kwak/dead.letter
	/home1/NLP/kwak/dead.letter... Sent

but when I use FQDN as recipient, it recognizes.

	gloria(31)> echo test | sendmail -v kwak@madonna.postech.ac.kr
	kwak@madonna.postech.ac.kr... Connecting to madonna.postech.ac.kr. (smtp)...
	220 madonna.postech.ac.kr Sendmail 4.1/SMI-4.1 ready at Mon, 4 Sep 95 15:37:59 KDT
	>>> HELO gloria.postech.ac.kr
	250 madonna.postech.ac.kr Hello gloria.postech.ac.kr, pleased to meet you
	>>> MAIL From:<kwak@gloria.postech.ac.kr>
	250 <kwak@gloria.postech.ac.kr>... Sender ok
	>>> RCPT To:<kwak@madonna.postech.ac.kr>
	250 <kwak@madonna.postech.ac.kr>... Recipient ok
	>>> DATA
	354 Enter mail, end with "." on a line by itself
	>>> .
	250 Mail accepted
	kwak@madonna.postech.ac.kr... Sent (Mail accepted)
	Closing connection to madonna.postech.ac.kr.
	>>> QUIT
	221 madonna.postech.ac.kr delivering mail

Other applications, such as ping, telnet, rlogin.. etc. are work properly 
though I don't give FQDN.
	e.g> 'ping madonna' works well

my /etc/host.conf file is set to use nis, bind, hosts files.   But any ordering
of this entries does not solved this problem.

Anyone can help me?
Thanks in advance.
--


          _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
         _/                                _/
        _/  kwak@madonna.postech.ac.kr    _/   _   , _       __   _   , 
       _/  kwak@vision.postech.ac.kr     _/   ' ) / ' )   / /  ) ' ) /
      _/  T.+82-0562-279-5656           _/     /-<   / / / /--/   /-< 
     _/  KLE. PIRL. POSTECH.           _/     /   ) (_(_/ /  (_  /   )
    _/ ------  Kwak Jong-Geun   ----  _/
   _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/