HOW TO FIX EXCHANGE ERROR: 504 5.5.2 HELO COMMAND REJECTED: NEED FULLY-QUALIFIED HOSTNAME

If you send an email and receive the following undeliverable “Delivery Final Failure Notice” with the following information:

Reply from x.x.x.x: 504 5.5.2 <servername>: Helo command rejected: need fully-qualified hostname

Then follow this steps to resolve:

1. Obtain an email address from the sender’s domain having issues with sending the message and examine the message headers.
2. Scroll down and examine the “Received: from” line and play close attention to the server name and IP address

This is key and more than likely the issue. We need to ensure the server name and IP address matchup with the reverse DNS entry for the sending domain.

3. Perform a reverse DNS Lookup on the IP address you find in the previous step.
4. Ensure the server name in Step 2 matches up with Revese DNS entry from Step 3
5. If these do not match up, then you’re on the right track. In my case going to the Trend Micro Interscan Messaging Security Suite (IMSS) Server was the next step.
6. On the IMSS server go to C:Program FilesTrend MicroIMSSconfig and edit the tsmtpd.ini file
7. Once the file is open, hit CTRL-F and search for helodomain, the entry we want to update is in Section 9.3
8. Remove the # sign and add in the reverse DNS entry we found (in Step 3)

Entry should look like this: HeloDomain=mail.yourdomain.com

9. Save the file, then go to the services and restart the Trend Micro IMSS SMTP Service, to put the recent changes into effect
10. Next circle back and redo step 1 with a new message, check the message headers and you should see the new helodomain change present
11. Resend the original message and you should no longer be receiving the the 504 5.5.5 HELO COMMAND REJECTED errors

Note: If you are not using Trend Micro’s IMSS, then your steps will be different for correcting the helodomain. Be sure to check the admin guide for your system and correct as necessary.

Comments

  1. Kien Min says:

    Thanks for the solutions. I encountered the same problem on my Trendmicro IMSS server. After enabled the Helodomain settings with my Mx record, the receiver won’t reject my e-mails anymore.

  2. hari says:

    SMTP server response: 504 5.5.2 : Sender address rejected: need fully-qualified address

Leave a Reply

Your email address will not be published. Required fields are marked *


seven + four =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

WP-Backgrounds Lite by InoPlugs Web Design and Juwelier Schönmann 1010 Wien