Skip to content
UltimateByte edited this page Jan 16, 2018 · 1 revision

What if I'm using different settings?

If you need different settings for emails (ports, protocols, etc.), you can:

  • Use this script, then edit the XML files located in:
    /var/www/vhosts/default/htdocs/mail
  • Or fork this GitHub repo, and change the repo (gituser, gitrepo, and gitbranch) to yours inside the main script, and edit the xml files as you want

What if I want to disable autoconfig for one domain only?

  • First, for Thunderbird disabling, remove the "autoconfig" CNAME for the domain
  • For Outlook, customize your Apache's domain configuration:
Alias "/autodiscover" "/var/www/vhosts/DOMAIN.TLD/httpdocs/autodiscover"
Alias "/Autodiscover" "/var/www/vhosts/DOMAIN.TLD/httpdocs/autodiscover"

(Replace DOMAIN.TLD with the actual domain)

  • If your customer actually uses Outlook, and you want to provide an autoconfig with different settings, then you can also add an autodiscover.xml and Autodiscover.xml to the actual directory from the domain if you wish to add a custom autodiscover file. Use those in /var/www/vhosts/default/htdocs/mail as a template if needed, and put them into /var/www/vhosts/DOMAIN.TLD/httpdocs/autodiscover.