I want to setup IMAP/POP3 access for incoming mail server on my CWP. For accessing the incoming mail server, I will need either POP3 or IMAP access with TLS encryption which is mandatory for most of the email clients.
My main host name is hosting.domain.com and that has the default host certificate.
I have created the domain example.com and created email account for the same as user@example.com. Here, example.com has its own SSL certificate.
When I add the same in mail client (Gmail on Android), I have entered incoming mail server as example.com and selected all the available options for security (like SSL/TLS, SSL/TLS (Accept all certificates), STARTTLS, STARTTLS (Accept all certificates)). But, the server is rendering only the main host name certificate (hosting.domain.com) instead of the mail address's domain certificate.
What can I do to host multiple domains with email accounts secured by TLS for each domains? What is the workaround?
(Note: Previously, I had Vesta-CP and I had replaced the main domain certificate with required main domain certificate and used the same as incoming & outgoing mail server for all the domains. But, it is not the proper way to do so. I can configure the windows mail clients like MS Outlook. But, in android device, I am getting the above said issues).