Re: Changing Hostname?
On Sat 21 Dec 2013 at 12:56:35 -0700, Bob Proulx wrote:
> Changing the system hostname is a simple process. But it depends upon
> what is installed since often the hostname is embedded in the
> configuration of a package. For example the Postfix mail transport
> agent needs to know the hostname in order for mail to work properly.
> (I assume Exim does too but I don't run it and so don't know.) So
> does Apache. And so forth. Each of those packages that need to know
> the hostname need to change. Each of those changes are simple. Just
> make sure you look and change all of them.
>
> Here are the places that need to be changed on every system.
>
> /etc/hosts
> /etc/hostname
> /etc/mailname
Would (or should) it be necessary to change /etc/mailname? mailname(5)
describes this file as containing ". . . the fully qualified domain
name that the program wishing to get the mail name should use (that is,
everything after the @)."
I use Exim but I'd expect Postfix's manpage to be identical.
Reply to: