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.
GET https://autoconfig.example.com/mail/config-v1.1.xml
GET https://autoconfig.example.com/[email protected]
POST https://autoconfig.example.com/autodiscover/autodiscover.xml
- Compile (
go mod tidy && go build -o server
) or download binary from releases tab. - Edit config.yml.
- Launch it
./server --config config.yml
. - Optionally use
nginx
as reverse-proxy andsystemd
to do daemon.