• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Use a domain for mail only

nornagest

New Pleskian
I have a server with Plesk Obsidian 18.0.35. This server hosts several domains including mail and everything works perfectly.
Now I would like to use an external domain with this server but only for mail.
Below my situation:
1) the domain mydomain.com is pointed (with A records) to an IP address of another server (xxx.xxx.xxx.xxx) which hosts the website files but NOT the mail of domain;
2) I want to use mydomain.com on plesk server but for mail ONLY and not for host website (alredy hosted on server xxx.xxx.xxx.xxx);
3) I followed this tutorial (https://support.plesk.com/hc/en-us/...figure-domain-to-use-only-mail-functionality-) and also this (https://support.plesk.com/hc/en-us/articles/115000214973).

I also entered the MX record "mail.mydomain.com" in the DNS panel of mydomain.com, but the mail doesn't work.

If I try to log in with the webmail it tells me unable to log in.

Any help?

Thank you in advance!
 
Of course, in my DNS panel I have the following:
A record *.mydomain.com. -> IP of webserver (with files of website)
A record mail.mydomaind.com -> IP of mail server
A record webmail.mydomain.com -> IP of mail server (with Roundcube)
MX record mail.mydomain.com
 
Wait, so roundcube itself already loads on webmail?
And you can login with external mail clients?
 
Solved! The problem was an imcomplete DNS propagation.
Below the recap of correct way to usa a domain for mail only

In the domain's DNS control panel insert the following record:
A record mail.mydomaind.com -> IP of mail server
A record webmail.mydomain.com -> IP of mail server (with Roundcube)
MX record mail.mydomain.com

In Plesk server follow this tutorial to disable hosting functionality and DNS management https://support.plesk.com/hc/en-us/...figure-domain-to-use-only-mail-functionality-
 
Back
Top