Articles in this section

How to manage mail autodiscover in Plesk?

kb: how-to Plesk for Linux

Applicable to:

  • Plesk for Linux

Question

  • How to manage mail autodiscover in Plesk?
  • How can I disable or enable mail autodiscover for a Plesk domain?

Answer

Autodiscover is enabled by default on all new Plesk Obsidian installations for all domains.

For Plesk versions upgraded to Plesk Obsidian, disabling or enabling it again can be done with the following steps: 

Enable autodiscover
  1. Log in to Plesk.

  2. Go to Tools & Settings > Mail Server Settings > Settings tab > General options > Enable the checkbox Enable mail autodiscover.

  3. To enable autodiscover:

  4. A valid SSL certificate is required. Make sure it is assigned under Mail Settings tab or issue a certificate using "SSL It" including option Assign the certificate to mail domain.

  5. This step is required only if you create DNS records directly under registrar and not in Plesk. Create the following SRV records manually under DNS registrar:

    Record type Domain name Service Protocol Priority Weight Port Target
    SRV example.com _smtps tcp 0 0 465 example.com
    SRV example.com _imaps tcp 0 0 993 example.com
    SRV example.com _pop3s tcp 0 0 995 example.com
Limitations
  • Autodiscover is not compatible with Outlook version 2019, 2021 and O365. These mail clients use Microsoft proxy servers for autodiscover requests, which is not supported in Plesk and Plesk Premium Email extension.

  • When a custom mail server is configured in Tools & Settings > Mail Server Settings, settings may not be obtained by some Android applications. It depends on the method used by an application to fetch mail settings using autodiscover.

    The corresponding request https://jira.plesk.ru/browse/PPPM-13140 was created to address this.

  • It is not available for domains without hosting.

  • Domains with autodiscover should be secured with valid SSL/TLS certificate.

  • Plesk does not use "mail.example.com" or "imap.example.com". It uses domain name itself like "example.com" as SMTP/IMAP hostname for automatic configuration.

  • Plesk Premium Email has it own configuration for autodiscover. When it is installed, above autodiscover management of Plesk is automatically deactivated.

Was this article helpful?

Comments

3 comments
Date Votes
  • what is autodiscover???

    3
  • Autodiscover works by having email client applications retrieve an XML file from the server which describes all the services and their options (such as whether SSL is used, port numbers, etc). In order to retrieve this XML file the email clients make various HTTP requests using the email address as a starting point.
    0
  • I believe that we should now be able to configure the mail server value returned by autoconfig through the Plesk panel. This is because I may not want to use my primary domain for this purpose. I also don't think this is a particularly difficult setting to implement.

    0

Please sign in to leave a comment.