For the record we reccomend a /etc/hosts that looks like:
127.0.0.1 localhost.localdomain localhost
192.168.xxx.x mailserver.mydomain.com mailserver
You need the localhost and mailserver parts from our experience. A good test of everything working is to run:
nslookup `hostname`
This should report the same IP address as you see with /sbin/ifconfig -a and of course be the right host name. |