Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


timmmay

20575 posts

Uber Geek

Trusted
Lifetime subscriber

#169718 23-Mar-2015 21:17
Send private message

I have a domain (let's call it example.com) that hosts web and email from the server, using cpanel. I've moved the email from that server to Google Apps.

When I create a new account in Thunderbird it uses the server part of the email address to look up the server. One way it could do it is to find the IP of the server hosting the main A record, then do an nslookup to get the server name. However there are two DNS records, autoconfig and autoconfiguration, both of them point to the server's IP. However even after changing those records to point to Google Apps (and waiting more than the DNS TTL) Thunderbird won't point autoconfig at Google apps.

I've found one article here (which refers to here) but it involves getting SSL certificates. If I go the subdomain it describes on one of my websites

http://autodiscover.headphonereviews.org

It directs to

https://cpanelemaildiscovery.cpanel.net/autodiscover/autodiscover.xml

which turns out to be a "not found" error.

However when I go to

http://autoconfig.headphonereviews.org/

I get an XML document which seems to define how to collect email. Progress! However when I created a subdomain autoconfig.example.com it wouldn't resolve (though I only waited a few minutes). I'll wait until tomorrow to see if DNS resolves.

This started out as a question but it turned into research... suggestions are more than welcome!

Create new topic
Delphinus
611 posts

Ultimate Geek


  #1266466 24-Mar-2015 09:45
Send private message

I assume you just want IMAP settings pushed out? This is what I use:

This should be available at http://autoconfig.example.com/mail/config-v1.1.xml (eg you might need to put it in a folder called mail or use rewrite rules).


<?xml version="1.0"?>
<clientConfig version="1.1">
    <emailProvider id="%EMAILDOMAIN%">
  <domain>%EMAILDOMAIN%</domain>
          <incomingServer type="imap">
          <hostname>imap.gmail.com</hostname>
          <port>993</port>
          <socketType>SSL</socketType>
          <authentication>password-cleartext</authentication>
          <username>%EMAILADDRESS%</username>
        </incomingServer>
        <incomingServer type="pop3">
          <hostname>pop.gmail.com</hostname>
          <port>995</port>
          <socketType>SSL</socketType>
          <authentication>password-cleartext</authentication>
          <username>%EMAILADDRESS%</username>
        </incomingServer>
        <outgoingServer type="smtp">
          <hostname>smtp.gmail.com</hostname>
          <port>465</port>
          <socketType>SSL</socketType>
          <authentication>password-cleartext</authentication>
          <username>%EMAILADDRESS%</username>
        </outgoingServer>

    </emailProvider>

</clientConfig>



timmmay

20575 posts

Uber Geek

Trusted
Lifetime subscriber

  #1266485 24-Mar-2015 09:58
Send private message

Thanks Del - that's almost what I came up with at the end of my post. Now I just have to get the subdomain to resolve... I added it 13 hours ago, maybe DNS hasn't propagated yet, or maybe it's something else. I've asked my host tech support to have a look.

Delphinus
611 posts

Ultimate Geek


  #1266487 24-Mar-2015 10:00
Send private message

You could try editing your HOSTS file on your PC to manually point the subdomain at the right IP while you're dealing with DNS issues.



timmmay

20575 posts

Uber Geek

Trusted
Lifetime subscriber

  #1266685 24-Mar-2015 12:17
Send private message

Yeah, I've used that trick before, good idea.

timmmay

20575 posts

Uber Geek

Trusted
Lifetime subscriber

  #1266949 24-Mar-2015 16:05
Send private message

Success! I still can't get DNS to resolve but when I hard coded the IP mail autoconfig worked fine with that setup. Thanks Del :)

timmmay

20575 posts

Uber Geek

Trusted
Lifetime subscriber

  #1266989 24-Mar-2015 16:26
Send private message

For future reference (maybe my own) there's more info on the scheme here and here.

Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.