I have a domain name eg: domainname. org pointing to www.xxx. yyy.zzz IP address of my home server.
now I want to configure a mail server on VPS using the mail.domainname. org to the IP address of the VPS aaa.bbb. ccc.ddd
As we know, if we create a mail server using the “Create Website” menu, then all the IPs for both website and mail server point to the IP of the VPS. In my case that does not work as my webserver for domainname. org is pointing to the other server where I have proxy manager.
I need your suggestion to configure necessary settings on my DNS for a working mail server.