How to Fix Server 550 Access denied – Invalid HELO name Errors

How to Fix Server 550 Access denied – Invalid HELO name Errors

This error appears when your server is sending an incorrect mail header when trying to deliver email messages. This is a very common problem on cPanel servers. There are two main causes to this.

Invalid Hostname

Your servers hostname could be incorrect. Usually, it’s not an FQDN (Fully Qualified Domain Name) Your hostname should be something like server.yourdomain.com.

You can update your hostname by logging into WHM and in the search bar type “hostname” then select the link that says “change hostname” enter an FQDN and click save. On the next page make sure you also add an A entry for the name hostname.

Once you have updated this you can navigate to Exim’s main queue from WHM. In the search bar type “Mail Queue” and click the “Manage Mail Queue” Here you will see a list of emails that have yet to be delivered. Select one and then click the “deliver now” button. If this resolved your problem the email in your queue will now be delivered.

cPanel SSL

Manually Set the HELO

You can manually set the HELO which is sent. If your users are using a shared server then they will likely be using the main servers IP to send email. You can force the HELO by editing the mailhelo file.

First, tell Exim to reference the /etc/mailhelo file by clicking the “Exim Configuration Manager” link in WHM then in the search bar on the top right enter “helo”

 

Fix Mail Helo

Switch this option to “ON” then in an SSH console as the root user issue the below command

nano /etc/mailhelo

Fix Invalid Helo

In the file that has been opened enter your hostname. For example, if your hostname is server.first2host.co.uk you would enter;

*: server.first2host.co.uk

Save and close the file then restart Exim

/bin/systemctl restart exim.service

Try to force send your email again and it should be delivered.

How was this article? – How to Fix Server 550 Access denied – Invalid HELO name Errors

How to Fix Server 550 Access denied – Invalid HELO name Errors
11 4.8 96.36%

cPanel

Select Language
cPanel SSD VPS - 8x vCores + 150 GB Space + 8 GB DDR-4 Ram + Free cPanel LicenseThree Months Half Price
+ +