Bad HELO - Host impersonating domain name

DAForum

Verified User
Joined
Nov 29, 2017
Messages
11
Goodday,

Our previous hosting provider decided to close his business and I probably made the stupidest decision ever to start managing the VPS myself.
Actually, the conversion of websites and mail accounts went pretty well and on the long run where some complications that I have learned to solve.

This however is my current problem.
We use a VPS mail01 to send mails and VPS web01 to host the websites.

So if a website had a contact form then mail01 became the smtp server. This worked fine on the old VPS. But in the current setup it is not going well.
When I test the contact form I receive a notification:
Bad HELO - Host impersonating domain name [mywebsite.com]
After a lot of googling and searching, I think the problem is in EXIM.
The old VPS was probably not that strict, but the current one does not accept the mails.
I think that I need to add the mail01 server as a trusted server to exim.

Is this reasonable?
And if so can someone please tell me how I can use the mail01 as a trusted server?
The servers are running on Centos7, i can use SSH (not much knowledge of the commands but learning).

Thanks in advance.
 
Hello,

With /etc/exim.conf 4.5 you might try and create: /etc/exim.acl_check_helo.pre.conf with a content:

Code:
  accept  hosts = +whitelist_hosts_ip

Then add your server's IPs into /etc/virtual/whitelist_hosts_ip, one per line
 
Hi,

This worked as a charm.
Thank you very very much zEitEr. You just made my day.
 
Back
Top