550 Bad Helo vs dns domain

inomi13

Verified User
Joined
Jan 7, 2022
Messages
162
I have a domain on server 1. In the DNS of this domain I changed the A record to the IP address of server 2. The SSL I generated on server 1 I copied to server 2 and it works.

On server 2, I have installed wordpress and set up smtp but smtp is not working. I received the message "SMTP ERROR: EHLO command failed: 550 Bad HELO - Domain name spoofing host".
 
Just to get things clear. What exactly of that domain is still residing and working (so with A records) on server 1?

If you are working with mail for the domain on server 2, did you also change the mail A and MX record of the domain to the ip of server 2?
 
I want only page in server2, mail I want in server 1.

screen1.jpg
 
In that case on server 2, you have to set the mail (and pop etc.) A record and MX records set to the ip of server 2.
Also, in the MX page of the domain on server 2, de-select "Use this server to handle my emails." and save.

You must only use e-mail accounts on server 1 then, for your wordpress on server 2, use the smtp credentials of server 1.
 
I have found where was a problem. I added adress IP server 2 in /etc/virtual/whitelist_hosts_ip and in file and in /etc/exim.acl_check_helo.pre.conf I added accept hosts = +whitelist_hosts_ip
 
Back
Top