• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue How Can We Customize Autodiscover Settings?

G J Piper

Regular Pleskian
I have the AutoDiscover turned on for my server and domains, but I need to customize it a bit.
I need to know where the files are located on the server that are used when it is served to clients?

ie: Some HTTP or PHP or XML file is used when the output of this is served:
Code:
https://anydomain.ext/autodiscover/autodiscover.xml

Can anyone tell me where these are served from on the server?
 
Found them! Modifying them does affect the output of all AutoDiscover and AutoConfig settings. Unless there is another place to put these files to override the default settings, the files will have to be modified every time there is a Plesk update I assume. Off to create a script to do it daily. ;-)

Code:
ls -lha /usr/local/psa/admin/htdocs/mailconfig/
total 12K
-rw-r--r--. 1 root root  824 Oct 24 12:37 autoconfig.xml
-rw-r--r--. 1 root root 1.2K Oct 24 12:32 autodiscover.xml
-rw-r--r--. 1 root root 1.9K Oct 18 05:00 index.php
 
This is getting tedious having to re-modify the AutoDiscover files every time there is a Plesk update. I've created a script to do it, but this really should be in the GUI since it is easily changed globally just by modifying a few text files. Please vote for this feature here:

Change settings for mail autodiscover

We need to be able to specify the hostname prefix (like mail.domain.com) as well as the preferred email server type (IMAP or POP) for AutoDiscover output.
 
Back
Top