I have two domains that are both functioning well on Hestia.
The first domain is using the default RoundCube email setup provided by Hestia. Everything works perfectly, with emails being sent and received from all providers without any issues.
The second domain is configured with Office 365 DNS, and it seems to be operating smoothly as well. However, I’m encountering an issue when sending emails from this domain (office 365) to the first domain (using Hestia and RoundCube). I receive the following error:
More Info for Email Admins
Status code: 550 5.7.363
It appears that the recipient’s email server at hestia-round-cube-domain.com performed a reverse DNS (rDNS) lookup security check to verify that the IP address the message is coming from is associated with the sending domain, and the lookup failed. It appears that the pointer (PTR) record for 365-domain.com isn’t set up correctly.
Set up or fix your domain’s PTR record - If you’re the admin for 365-domain.com, work with your DNS hosting provider (your domain registrar, Web hosting provider, or ISP) to correctly set up a PTR record for your domain. If you’re using Office 365 to manage your DNS records note that PTR record creation and management isn’t supported in Office 365, so you’ll have to change your DNS management to a DNS host outside Office 365.
Are there any specific DNS records that need to be added?
It looks like misconfiguered PTR records as well as there maybe a slight chance of IP blacklist (not sure 100%). But this is what got pulled up on search:
I know you started a new topic, but I don’t know if this question fits there. Have you looked at your HestiaCP mail logs for one of those messages that is refused by your HestiaCP exim?
Can you share the log from one such transaction here. You can substitute example.com and example.net if you want to keep the domains private.
It looks like your exim is trying to verify the existence of the sending email address and not finding a satisfactory response at the server it is querying.
Does the email address of [email protected] exist on the mail system that is operating at the MX for that (sending) domain? Does it exist in the M365 tenant that is sending the mail? (It may not need to, but I don’t know which host would be checked by sender verification, as I don’t use any such feature.)
You don’t have email set up without any users on HestiaCP for the sending domain, do you? We don’t want exim thinking that it is supposed to be sending or receiving email for that domain.
Good. HestiaCP should not have that domain configured as a mail domain when it uses another system for its mail.
Speaking of, your MX records for that domain do not point to M365. If you are using some MX based filtering system in front of M365, make sure that it accepts email for any addresses that you have configured in M365 in case that is where exim is attempting to validate the sender.