[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hostname is not correct



On Thu, Jul 17, 2003 at 09:08:13PM -0800, Rodney D. Myers wrote:
> On Thu, 17 Jul 2003 23:23:00 -0400
> Shawn Lamson <shawn.lamson@verizon.net> wrote:
> 
> > On Wed, July 16 at  9:12 PM EDT
> > "Rodney D. Myers" <rdmyers@pe.net> wrote:
> > 
> > >When I attempt to send mail, from the command line, the address after
> > >the "@" is knoppix. 
> > >
> > >After I installed knoppinx to the hard drive, I've edited
> > >/etc/hostname to show the machine name "riverside".
> > >
> > >Everything I've looked at inside the /etc/ directory has no more
> > >mention of KNOPPIX.
> > >
> > >In the /etc/defaultdomain, I have my domain inserted there.


  /etc/defaultdomain is for NIS and has nothing to do for the problem
under hand. Or so I think.


> > >
> > >Any other tips, and/or pointers would be greatly appreciated
> > 


  Not sure how/if /etc/networks is involved. Perhaps /etc/hosts should
contain riverside.NoKnoppix.Please although I tend to think that it
shouldn't. Basically the problem is how to set the FQDN (Fully Qualified
Domain Name) of the machine for the MTA purposes. What does 
/etc/resolv.conf has? What /etc/exim*, or the equivalent for your MTA,
has?


> > Not sure if this is relevant - but what does the command hostname
> > return at this point?  You can also #cat /proc/sys/kernel/hostname to
> > see what it says - and to change it w/o rebooting echo "riverside" >>
> > /proc/sys/kernel/hostname (not sure if this is really advisable,
> > though).  What MUA are you using that puts "@knoppix" ?  Is it gnu
> > mailutils?
> > 
> > Shawn Lamson
> > shawn.lamson@verizon.net
> 
> Thanks. It shows my machine name. I'll keep looking around.
> 
> The MUA is mixmaster.
> 
> Again, thank you.
> 
> -- 
> Rodney D. Myers <rdmyers@pe.net>	Registered Linux User #96112
> ICQ#:     AIM#:       YAHOO:
> 18002350  mailman452  mailman42_5
> 
> They that can give up essential liberty to obtain a 
> little temporary safety deserve neither liberty nor safety.
>         Ben Franklin - 1759

-- 

    Shaul Karl, shaulka@bezeqint.n e t



Reply to: