Autodiscover lets a mail app set up an email account from the address alone, without the user typing server names and ports. /go/autodiscover writes the file that Outlook-style mail apps read. For every hosted domain, it: Mail apps that support Autodiscover look for the file at addresses such as https://<domain>/autodiscover/autodiscover.xml. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.
Quick start
# Write the Autodiscover file for every hosted domain
/go/autodiscover
Examples
# Write or refresh the files for all domains
/go/autodiscover
# Check one domain's file
cat /home/example.com/www/autodiscover/autodiscover.xml
# Review the log of past runs
tail -n 20 /var/log/go/autodiscover.log
Output
The command prints nothing. To check the result, look at the file or request it:
cat /home/example.com/www/autodiscover/autodiscover.xml
curl https://example.com/autodiscover/autodiscover.xml
See the full reference at /go/autodiscover and the GoAdmio command index.
GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.
