From: Darryl Luff (darryl_at_snakegully.nu)
Date: Mon, 21 Jun 2004 22:33:06 +1000 To: Tom Allison <firstname.lastname@example.org>
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:
18.104.22.168 myserver myserver.mydomain.com
Sendmail etc need the fully qualified name, so it needs to be there. The
short one just saves you typing.
> I'm actually thinking it needs to be the machine name only because if
> you are running multiple domains on a machine you need to be able to
> tell the difference for email and web services.
The configuration of the rest of your domains is often done in DNS, or
in mail/web server config files rather than in the hosts file.
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact email@example.com