Subject: RE: Sendmail newbie question
To: 'Philip Christian' <philipchristian2003@yahoo.co.uk>
From: Conrad T. Pino <Conrad@Pino.com>
List: netbsd-help
Date: 12/24/2002 10:43:15
This is a multi-part message in MIME format.

------=_NextPart_000_0009_01C2AB39.44D28C90
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

By default the sendmail daemon is off.  Check "/etc/rc.conf" for
"sendmail=YES"
and change it to "NO" if you won't be receving email.

To make the error to away, add "hostname=myname.somedomain" to
"/etc/rc.conf"
and add the following to "/etc/hosts":

    10.0.1.x myname.somedomain myname

  -----Original Message-----
  From: netbsd-help-owner@netbsd.org [mailto:netbsd-help-owner@netbsd.org]On
Behalf Of Philip Christian
  Sent: Tuesday, December 24, 2002 08:55
  To: netbsd-help@netbsd.org
  Subject: Sendmail newbie question


  I now have two portable NetBSD PCs in my lab (the spare bedroom).  The
idea is that I can power them up, and then telnet, ftp from my laptop and
compile some code, play with the OSI stack etc, then shut them down and put
them back in the cupboard.  They seem to start up quite nicely without any
keyboard mouse or monitor which is neat.

  Anyway, when I boot them I get:

  localhost sendmail [135]: My unqualified hostname (localhost) unknown;
sleeping for retry

  then

  localhost sendmail [135]: Unable to qualify my own domain name
(localhost) -- using shortname

  this introduces an annoying delay

  Questions:-

  Do I really need sendmail? how did it get there? what starts it going? can
I get rid of it?

  If I can't then how do I get rid of the delay while it "sleeps for a
retry"?

  I am guessing that it is something to do with the the hosts file which at
the moment just has localhost 127.0.0.1 or whatever it is.  The machines
also have a line in etc/ifconfig.ep0 which gives them a 10.0.1.x address and
an OSI address, maybe it is something to do with that..

  Thanks, Philip






----------------------------------------------------------------------------
--
  With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits
your needs

------=_NextPart_000_0009_01C2AB39.44D28C90
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 5.50.4922.900" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D468163618-24122002><FONT face=3D"Courier New" =
color=3D#0000ff=20
size=3D2>By default the sendmail daemon is off.&nbsp; Check =
"/etc/rc.conf" for=20
"sendmail=3DYES"</FONT></SPAN></DIV>
<DIV><SPAN class=3D468163618-24122002><FONT face=3D"Courier New" =
color=3D#0000ff=20
size=3D2>and change it to "NO" if you won't be receving =
email.</FONT></SPAN></DIV>
<DIV><SPAN class=3D468163618-24122002><FONT face=3D"Courier New" =
color=3D#0000ff=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D468163618-24122002><FONT face=3D"Courier New" =
color=3D#0000ff=20
size=3D2>To make the error to away, add "hostname=3Dmyname.somedomain" =
to=20
"/etc/rc.conf"</FONT></SPAN></DIV>
<DIV><SPAN class=3D468163618-24122002><FONT face=3D"Courier New" =
color=3D#0000ff=20
size=3D2>and add the following to "/etc/hosts":</FONT></SPAN></DIV>
<DIV><SPAN class=3D468163618-24122002><FONT face=3D"Courier New" =
color=3D#0000ff=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D468163618-24122002><FONT face=3D"Courier New" =
color=3D#0000ff=20
size=3D2>&nbsp;&nbsp;&nbsp; <FONT color=3D#000000 size=3D3><FONT =
color=3D#0000ff=20
size=3D2>10.0.1.x myname.somedomain =
</FONT></FONT>myname</FONT></SPAN></DIV>
<DIV><SPAN class=3D468163618-24122002><FONT face=3D"Courier New" =
color=3D#0000ff=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> =
netbsd-help-owner@netbsd.org=20
  [mailto:netbsd-help-owner@netbsd.org]<B>On Behalf Of </B>Philip=20
  Christian<BR><B>Sent:</B> Tuesday, December 24, 2002 =
08:55<BR><B>To:</B>=20
  netbsd-help@netbsd.org<BR><B>Subject:</B> Sendmail newbie=20
  question<BR><BR></FONT></DIV>
  <P>I now have two portable NetBSD PCs in my lab (the spare =
bedroom).&nbsp; The=20
  idea is that I can power them up, and then telnet, ftp from my laptop =
and=20
  compile some code, play with the OSI stack etc, then shut them down =
and put=20
  them back in the cupboard.&nbsp; They seem to start up quite nicely =
without=20
  any keyboard mouse or monitor which is neat.</P>
  <P>Anyway, when I boot them I get:</P>
  <P>localhost sendmail [135]: My unqualified hostname (localhost) =
unknown;=20
  sleeping for retry</P>
  <P>then</P>
  <P>localhost sendmail [135]: Unable to qualify my own domain name =
(localhost)=20
  -- using shortname</P>
  <P>this introduces an annoying delay</P>
  <P>Questions:-</P>
  <P>Do I really need sendmail? how did it get there? what starts it =
going? can=20
  I get rid of it?</P>
  <P>If I can't then how&nbsp;do I get rid of the delay while it "sleeps =
for a=20
  retry"?</P>
  <P>I am guessing that it is something to do with the the hosts file =
which at=20
  the moment just has localhost 127.0.0.1 or whatever it is.&nbsp; The =
machines=20
  also have a line in etc/ifconfig.ep0 which gives them a 10.0.1.x =
address and=20
  an OSI address, maybe it is something to do with that..</P>
  <P>Thanks, Philip</P>
  <P>
  <P><FONT face=3D"Courier New" color=3D#0000ff size=3D2></FONT><BR>
  <HR SIZE=3D1>
  <A=20
  =
href=3D"http://uk.yahoo.com/mail/tagline_xtra/?http://uk.docs.yahoo.com/m=
ail_storage.html"><B><FONT=20
  face=3DArial size=3D2>With Yahoo! Mail you can get a bigger mailbox -- =
choose a=20
  size that fits your =
needs</FONT></B></A><BR></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0009_01C2AB39.44D28C90--