Coder Social home page Coder Social logo

wobblybobz / autodiscover.xml Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sylvaindumont/autodiscover.xml

3.0 3.0 1.0 29 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-email-settings

Docker Pulls Docker layers

This service is created to autodiscover your provider email settings.

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

This is a clone of weboaks/autodiscover-email-settings and has had extra variables added to allow for STARTTLS and different Password Types

DNS settings

autoconfig              IN      A      {{$AUTODISCOVER_IP}}
autodiscover            IN      A      {{$AUTODISCOVER_IP}}
imap                    IN      CNAME  {{$MX_DOMAIN}}.
smtp                    IN      CNAME  {{$MX_DOMAIN}}.
@                       IN      MX 10  {{$MX_DOMAIN}}.
@                       IN      TXT     "mailconf=https://autoconfig.{{$DOMAIN}}/mail/config-v1.1.xml"
_imaps._tcp             IN      SRV    0 0 993 {{MX_DOMAIN}}.
_submission._tcp        IN      SRV    0 0 465 {{MX_DOMAIN}}.
_autodiscover._tcp      IN      SRV    0 0 443 autodiscover.{{$DOMAIN}}.

Replace above variables with data according to this table

Variable Description
MX_DOMAIN The hostname name of your MX server
DOMAIN Your apex/bare/naked Domain
AUTODISCOVER_IP IP of the Autoconfig HTTP

Usage

traefik can proxy your containers on docker, on docker swarm, and on a wide range of orchestrators

docker

version: '2'

services:
  autodiscover-domain-com:
    image: wobblybob/autodiscover-email-settings:latest
    environment:
    - DOMAIN=domain.com
    - IMAP_HOST=imap.domain.com
    - IMAP_PORT=993
    - IMAP_AUTHTYPE=password-cleartext
    - SMTP_HOST=smtp.domain.com
    - SMTP_PORT=587
    - SMTP_PROTOCOL=STARTTLS
    - SMTP_AUTHTYPE=password-cleartext
    labels:
      - "traefik.port=8000"
      - "traefik.frontend.rule=Host:autoconfig.domain.com,autodiscover.domain.com"

docker swarm

version: '3'

services:
  autodiscover-domain-com:
    image: wobblybob/autodiscover-email-settings:latest
    environment:
    - DOMAIN=domain.com
    - IMAP_HOST=imap.domain.com
    - IMAP_PORT=993
    - SMTP_HOST=smtp.domain.com
    - SMTP_PORT=465
    deploy:
      replicas: 1
      labels:
        - "traefik.port=8000"
        - "traefik.frontend.rule=Host:autoconfig.domain.com,autodiscover.domain.com"

Credits

Forked from https://github.com/sylvaindumont/autodiscover.xml to allow extra Environment Variables for STARTTLS and Clear/Encrypted Passwords Inspired from https://github.com/johansmitsnl/docker-email-autodiscover, but with https://github.com/Tiliq/autodiscover.xml instead of https://github.com/gronke/email-autodiscover to allow a much lighter () image based of node on alpine instead of apache on debian ()

Notes

The above autoconfiguration methods assume the following:

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

License

This project is distributed under the MIT License

autodiscover.xml's People

Contributors

kevinmartin avatar sylvaindumont avatar wobblybobz avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

harrydeluxe

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.