GithubHelp home page GithubHelp logo

hibiki31 / autodiscover.xml Goto Github PK

View Code? Open in Web Editor NEW

This project forked from incruises/autodiscover.xml

0.0 0.0 0.0 14 KB

Provides Autodiscover capabilities for IMAP/SMTP services on Microsoft Outlook/Apple Mail and Autoconfig capabilities for Thunderbird

License: MIT License

JavaScript 100.00%

autodiscover.xml's Introduction

autodiscover.xml

Provides IMAP/SMTP Autodiscover capabilities on Microsoft Outlook/Apple Mail, Autoconfig capabilities for Thunderbird, and Configuration Profiles for iOS/Apple Mail.

Deploy

Microsoft Outlook/Apple Mail

URL (POST XML): https://{{app_domain}}/Autodiscover/Autodiscover.xml

Create a SRV DNS Record:

Service Protocol Value, Destination, Target Port Priority Weight TTL
_autodiscover _tcp {{app_domain}} 443 5 0 3600

Test your Autodiscover configuration (Microsoft Outlook): https://testconnectivity.microsoft.com (Click on "Outlook Autodiscover")

Mozilla Thunderbird

URL (GET): https://{{app_domain}}/mail/config-v1.1.xml

Create a CNAME DNS Record:

Name, Host, Alias Value, Destination TTL
autoconfig {{app_domain}} 3600

iOS / Apple Mail

URL (GET): https://{{app_domain}}/email.mobileconfig?email=EMAIL_ADDRESS

Redirect users to above URL and the MobileConfig Profile will be downloaded. The user will be instructed to install the profile to configure their email.

Notes

The above autoconfiguration methods assume the following:

  • Username: {{email}} (Entire email address)
  • Encryption: SSL/TLS

Workarounds

I only have one mail server with both IMAP and SMTP on the same machine (mail.mydomain.com).

Create CNAME DNS Records that alias imap/smtp to your machine, like so:

Name, Host, Alias Value, Destination TTL
imap mail.mydomain.com 3600
smtp mail.mydomain.com 3600

My settings are different or not compatible with these settings.

Feel free to fork this repository and modify it to your needs.

License

This project is distributed under the MIT License

autodiscover.xml's People

Contributors

kevinmartin avatar hibiki31 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.