Ali Jawad skrev den 12-12-2012 21:10:
How can I change this ?
is /etc/hosts correct ?
what is your login shell telling ?
does it show unknown ?
order in /etc/hosts is important that fqdn must be first listed after
each ip
# incorrect
127.0.0.1 localhost localhost.localdomain
# correct
127.0.0.1 localhost.localdomain localhost
# other ips here to help daemons startup before bind/named is running
<wan-ip-of-your-server> <reverse-ptr-name> <shortname>
when this is in place postfix will follow, just like apache :=)
remove mydomain/myorigin in main.cf if postconf -d shows correct now