GithubHelp home page GithubHelp logo

savely-krasovsky / go-autoconfig Goto Github PK

View Code? Open in Web Editor NEW
19.0 4.0 4.0 19 KB

IMAP/SMTP autodiscover feature for Thunderbird, Apple Mail and Microsoft Outlook

License: MIT License

Go 100.00%
autodiscover autoconfig imap smtp

go-autoconfig's Introduction

go-autoconfig

IMAP/SMTP autodiscover feature for Thunderbird, Apple Mail and Microsoft Outlook.

You need DNS SRV-record to get work Outlook and Thunderbird:

_autodiscover._tcp IN SRV 0 0 443 autoconfig.example.com.

Of course autoconfig.example.com domain should point to your server with this service.

Thunderbird

GET https://autoconfig.example.com/mail/config-v1.1.xml

Apple Mail

GET https://autoconfig.example.com/[email protected]

Outlook

POST https://autoconfig.example.com/autodiscover/autodiscover.xml

Installation

  1. Compile (go mod tidy && go build -o server) or download binary from releases tab.
  2. Edit config.yml and download templates directory. It should be with server binary.
  3. Launch it ./server -config config.yml.
  4. Optionally use nginx as reverse-proxy and systemd to do daemon.

go-autoconfig's People

Contributors

dependabot[bot] avatar savely-krasovsky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

go-autoconfig's Issues

Instructions on how to build

Would be helpful if you could instructions on how to build :) I'm not so familiar with Go projects yet.

Regards
Jonas

go 1.20 support

Currently it build only on go 1.18:

# encoding
compile: version "go1.20.7" does not match go tool version "go1.18.1"
# internal/goarch
compile: version "go1.20.7" does not match go tool version "go1.18.1"
# internal/unsafeheader
compile: version "go1.20.7" does not match go tool version "go1.18.1"
# internal/cpu
compile: version "go1.20.7" does not match go tool version "go1.18.1"
# internal/coverage/rtcov
compile: version "go1.20.7" does not match go tool version "go1.18.1"
# internal/goexperiment
compile: version "go1.20.7" does not match go tool version "go1.18.1"
# internal/goos
compile: version "go1.20.7" does not match go tool version "go1.18.1"
# runtime/internal/atomic
compile: version "go1.20.7" does not match go tool version "go1.18.1"
# runtime/internal/syscall
compile: version "go1.20.7" does not match go tool version "go1.18.1"
# internal/itoa
compile: version "go1.20.7" does not match go tool version "go1.18.1"
# math/bits

would be cool to update to go 1.20

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.