Howto: Stop Postfix from HELOING as localhost.localdomain
Recently, one of our newly setup mail servers was being added to Spamhaus XBL blacklist because it was HELOING as localhost.localdomain. This would prevent emails from reaching alot of addresses if not fixed (We found this issue during site testing!)
The quickest way to address this (since our /etc/hosts file was correct) was to edit the main.cf postfix configuration file.
You can find the file at /etc/postfix/main.cf.
Open up this file, find the line that says myhostname and change to what you want it heloing as. Now all you need to do is request removal from the blacklist (should take no more than 15/20 minutes).
You're done!
Comments
Be the first to comment!