Re: /etc/hostname

From: Darryl Luff (
Date: 06/21/04

  • Next message: W. Borgert: "unattended installation of exim4"
    Date: Mon, 21 Jun 2004 22:33:06 +1000
    To: Tom Allison <>

    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: myserver

    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 
    with a subject of "unsubscribe". Trouble? Contact

  • Next message: W. Borgert: "unattended installation of exim4"