[CentOS] my postfix ignores myhostname parameter

Robert Moskowitz rgm at htt-consult.com
Mon Oct 13 16:47:46 UTC 2008


David Hláčik wrote:
> Hello guys,
> I do not know how it is posible :
> *vi /etc/postfix/main.cf <http://main.cf>*
> # INTERNET HOST AND DOMAIN NAMES
> #
> # The myhostname parameter specifies the internet hostname of this
> # mail system. The default is to use the fully-qualified domain name
> # from gethostname(). $myhostname is used as a default value for many
> # other configuration parameters.
> #
> #myhostname = host.domain.tld
> myhostname = mail.hlacik.eu
> *service postfix restart*
> [root at sx1 postfix]# postconf -d myhostname
> *myhostname = sx1.labs.hlacik.eu*
> What is wrong??

What is in:

/etc/hosts
/etc/sysconfig/network
/etc/sysconfig/network-scripts/ifcfg-ethn (where n is the interface number)

???




More information about the CentOS mailing list