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

Re: /etc/hostname



On Mon, Jun 21, 2004 at 10:33:06PM +1000, Darryl Luff wrote:
> Tom Allison wrote:
> >My /etc/hostname file contains only the machine name and not the FQDN of 
> >the machine.
> >
> >This is causing problems with procmail, squirrelmail and probably 50 
> >other things out there.
> >
> >How do I set this once and for all?
> >And should it be a FQDN or just the machine name?
> >
> I put both in:
> 9.9.9.9	myserver	myserver.mydomain.com

Isn't that your /etc/hosts file instead of your /etc/hostname?

I have just my machine name in /etc/hostname. I have both in my
/etc/hosts, just like above.

HTH,
David

-- 
Hi! I'm a .signature virus. Copy me into
your ~/.signature to help me spread!



Reply to: