How To Fix Invalid HELO Name

If you are facing Email sending problem like “Invalid HELO name” or “Helo command rejected: need fully-qualified hostname”.

From WHM => Turn off the “Require RFC-compliant HELO” option under “WHM Main >> Service Configuration >> Exim Configuration Manager”

Then the first thing first is your hostname. It is your hostname which is not fully-qualified domain name (FQDN). That is

  • hostname must contains two periods (for example, hostname.example.com).
  • Do not select a hostname that begins with www or a number, or that ends with a hyphen (-).

If you don’t have root access of your server then contact with your hosting administrator.

  1. SSH to your server.
  2. # sudo nano /etc/sysconfig/network (use nano or vim or vi)
    1. Modify the HOSTNAME= value to match your FQDN hostname
    2. HOSTNAME=myserver.domain.com
  3. For internal networking, change the host that is associated with the main IP address for your server (found at /etc/hosts).
    1. 127.0.0.1 localhost localhost.localdomain
      123.45.67.89 hostname.domain.com hostname
  4. Restart networking on your server to ensure that changes will persist on restart. /etc/init.d/network restart

 

 

Leave a Comment

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