Correct rDNS setup for mail-domain

Hi there,

I have a question regarding the correct configuration of rDNS.

yunohost is running on a subdomain (yunohost.example.com) on a VPS, but manages the mails for the main domain (example.com, which is running on my home server).

I achieved this by setting up DNS-entries.
MX for example.com points to yunohost.example.com

I’m writing and receiving mails from addresses in the form of *@example.com.

Now I’m unsure, how my rDNS entry should look like. Should the IP-Adress be solved to example.com or to yunohost.example.com?

Any help is very much appreciated, and I’m happy to provide more information if necessary.
Samuel

Hi there,

I think I found the solution, as this question is not really yunohost-specific.

The reverse dns entry should be for the mail subdomain, even if this domain is capable of receiving and sending mails for the main domain.

Best regards!
Samuel