1 Answer
1

Normally this is a hostname/DNS issue. I'm assuming server.domain.com is not the actual hostname of the server, but make sure it is a proper FQDN. If it is not an internet facing server with a real external hostname, use a .local domain (I sometimes use .internal at home to avoid conflicting with zeroconf). Check your hosts file, /etc/hostname, /etc/mailname, and the values of myhostname, mydestination, myorigin.

Yes, server.domain.com is not the actual hostname :) There was a problem with the hostname, I've updated the the sever with the correct settings but it's still giving the same error as before
–
JamieDMay 6 '11 at 10:13