• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Secure IMAP and SMTP subdomain based on customers domain name

krikey

New Pleskian
Server operating system version
Ubuntu 18.04.6 LTS
Plesk version and microupdate number
Plesk Obsidian Version 18.0.49 Update #2
Hello,

Whilst I know that you can allocate the main domain names letsencrypt SSL cert for use with IMAP/SMTP/POP3 connections, it doesn't seem possible to allocate a custom subdomain for IMAP/SMTP/POP3 use.

For example, I'd like to use mail.mydomain.com as my server name and also get a validated letsencrypt certificate for it to work with IMAP/SMTP/POP3.

Is this possible?
 
Yes, it is possible when you do not use "Add Subdomain" to add a subdomain, but instead use "Add Domain" and then enter the full subdomain including domain into the domain field.
 
Thanks for your reply.

I did try your suggestion of adding a domain but this didn't seem t work as expected on my install. However adding a subdomain of the main domain with no hosting services, allowed me to create an SSL cert for it.

I could then use that SSL cert within the mail settings for that domain and secure it that way.

Its a shame that Plesk don't offer this as an automation as it might be useful, especially if you're using a third party CDN such as Cloudflare but still want to offer a nicer looking mailserver name for customers.
 
Revisiting this again and thanks for you help so far.

Plesk generates a URL at example.com/mail/config-v1.1.xml?emailaddress=user%40example.com where Thunderbird looks to get the autoconfig details from the server.

This file/URL uses example.com as the IMAP or SMTP servers which then breaks if I'm using web proxying for that domain in Cloudflare.

Is it possible to overwrite this file with a subdomain such as mail.someotherdomain.com globally on the Plesk server?
 
Thanks. Ive set the new autodiscover URL and can confirm that I can see the XML output at https://someotherdomain.com/mail/[email protected]

I restarted Apache, Dovecot, Postfix & Plesk Milter (this may not be necessary).

However the XML is still listing the original example.com domain as the IMAP and SMTP servers, not the new someotherdomain.com domain.

Turns out that I also had to cycle the "Enable mail autodiscover" option within the subsctiption itself too before the XML updated to use someotherdomain.com
 
Back
Top