I have registered the domain on Cloudflare and I have set the DNS exactly according to the Hestia panel DNS on Cloudflare.
I get this error
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
@domain.com
host domain.com [...***]
SMTP error from remote mail server after pipelined MAIL FROM:***@mydomain SIZE=1748:
550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)
Reporting-MTA: dns; localhost.localdomain
I followed this tutorial
But I have a problem to send email to webmails and the email is not sent
This error is displayed
Mail delivery failed: returning message to sender
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
*** @ domain.com
host domain.com [...]
SMTP error from remote mail server after pipelined MAIL FROM:< ***@mydomain > SIZE=1748:
550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)
Reporting-MTA: dns; localhost.localdomain
If the result is localhost.localdomain, you should change it to a FQDN domain like server.yourdomain.tld. To change it use this command:
v-change-sys-hostname server.yourdomain.tld
Also, server.yourdomain.tld should have an A record pointing to your server’s ip and you should change the PTR record for your ip so your public ip will point to server.yourdomain.tld (this PTR record must be changed from your hosting provider control panel).
Thanks for your attention and guidance
I did exactly as instructed
But I’m still having trouble sending emails to webmail addresses
Please see the attached photos
@laklak changed the hostname (aaa-bbb-ccc-ddd) to a real one and also changed the ptr for the public ip, after that exim still was using the wrong hostname and was because there was an entry in /etc/hosts using the public ip and the wrong hostname, once it was replaced with the right hostname and exim restarted, all started to work as expected.