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.mobileconfig?email=your@email.com
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 and download
templatesdirectory. It should be withserverbinary. - Launch it
./server -config config.yml. - Optionally use
nginxas reverse-proxy andsystemdto do daemon.