This project provides a Dockerized solution for creating a Mail Autoconfiguration (Autoconfig) system using Automx2. It allows to automatically configure email clients with the appropriate configuration for your mail server.
- Docker
- Docker Compose
git clone https://github.com/yourusername/automx2-mail-autoconfig.git
cd automx2-mail-autoconfig
sudo mkdir -p /data/automail-db
sudo chown 1000:1000 automail-db
Edit init.sql
to configure your server settings (domain, perhabs also IMAP, SMTP settings).
sudo chmod a+r init.sql
```
docker-compose build
docker-compose up -d
```
curl "http://localhost:4243/mail/config-v1.1.xml?emailaddress=test@YOURDOMAIN.COM"
This project is based on Yannik's article, which explains a non-Docker version of autoconfig.