[CentOS] postfix - hostname

Feizhou feizhou at graffiti.net
Mon Nov 27 04:28:07 UTC 2006

> # mail root
> the email is returned saying that
> root at centos-server.mydomain.com, could not be verified
> i used the command
> # hostname ns1.mydomain.com
> and also edited the file.
> /etc/hosts,
> but i have the same result, the hostname did not change, i even
> restart my server with no luck.

set "myhostname = ns1.mydomain.com" in main.cf

> what am I missing?

postfix will not deliver mail to root. Please edit aliases and alias 
root to some other account.

More information about the CentOS mailing list