I moved mail server from office to DC and updated our MX record with Godaddy yesterday however for this reason or another emails won't send and I get the following message:
tail -f /var/log/maillog
PHP Code:
Jun 3 18:00:32 one postfix/smtpd[1005]: warning: XX.XXX.XXX.XXX: address not listed for hostname our.mailserver.com
cat /etc/hosts
PHP Code:
127.0.0.1 localhost localhost.mailserver.com
YY.YYY.YYY.YYY our.mailserver.com our
XX.XXX.XXX.XXX = old IP address (office)
YY.YYY.YYY.YYY = new IP address (DC)
What I've done so far:
1. Changed namservers in /etc/resolv.conf to OpenDNS
2. Restarted the server to flush DNS cache (not sure if it is enough though)
3. Run "host" to see what points where - all fine here.
3. Googled on the subject as well
Still no luck.
PS: Emails come in fine for all domains we host. The only problem - they won't send out.
Kindly ask for help!