Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Exchange Autodiscovery with cPanel

Discussion in 'E-mail Discussions' started by eximo84, Jul 10, 2017.

Tags:
  1. eximo84

    eximo84 Registered

    Joined:
    Jul 10, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Wales
    cPanel Access Level:
    Root Administrator
    So I am configuring autodiscover for our on-prem exchange environment, at the moment autodiscover works fine for Outlook clients as our external DNS host has the correct SRV records. Note: DNS isn't managed via CPANEL - its all external and hosted elsewhere.

    However I want to try and get iOS devices and Android devices to work with autodiscover and from my research mobile devices don't use SRV records and only attempt the first two methods of the autodiscover chain:

    1. https://domain.com/autodiscover/autodiscover.xml
    2. https://autodiscover.domain.com/autodiscover/autodiscover.xml

    I have tried a few different approaches to get this working but nothing is working for me, first I disabled the following tweak settings:
    • "Proxy subdomain creation"
    • "Preferred mail service to configure to use for Thunderbird and Outlook autodiscover and autoconfig support"
    I then tried a 301 redirect https://domain.com/autodiscover to https://mail.domain.com/autodiscover but the 301 redirect refuses to work. Instead I get a 403 on the autodiscover folder or error 400 or "Autodiscover and Autoconfig support is disabled." on the autodiscover.xml file.

    I then enabled the above tweak settings and noticed the autodiscover site for HTTP was redirecting to cpanelemaildiscovery.cpanel.net which didn't resolve to anything. I changed that to mail.domain.com which started working for HTTP however HTTPS refuses to redirect. How can I redirect HTTPS from cpanel to my mail server?

    Is this a bug in the CPANEL or is my configuration wrong?

    --

    CPANEL Version: 11.52.6 (build 6)
    WHM Version: WHM 11.52.6 (build 6)
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  3. eximo84

    eximo84 Registered

    Joined:
    Jul 10, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Wales
    cPanel Access Level:
    Root Administrator
    Thanks for that link, I saw that during my Googling but didn't really understand it. I assume that requires a service restart also with the rebuilding of the conf?

    Do I run that script via SSH from the cpanel?

    In regards to the upgrade, I'm not sure. I have only just started work at the company and its been this way for some time. Ill look into a potential upgrade.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    I recommend updating cPanel to a supported version first in order to to see if the issue persists. Documentation on upgrading cPanel is available at:

    Upgrade to Latest Version - Documentation - cPanel Documentation

    We're happy to help with any issues you might encounter during the update.

    Thank you.
     
Loading...

Share This Page