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