mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
1.7 KiB
1.7 KiB
Stalwart mail server
This container bundles stalwart mail server and auto-configures it for you.
Notes
- This is only intended to run on a VPS with static ip-address.
- Check with
sudo netstat -tulpnthat no other service is using port 25, 143, 465, 578, 993 nor 4190 yet as otherwise the container will fail to start. - You need to configure a reverse proxy in order to run this container since stalwart needs a dedicated (sub)domain! For that, you might have a look at https://github.com/nextcloud/all-in-one/tree/main/community-containers/caddy.
- Currently, only
mail.$NC_DOMAINis supported as subdomain! So if Nextcloud is usingyour-domain.com, vaultwarden will usemail.your-domain.com. - The data of Stalwart will be automatically included in AIOs backup solution!
- After adding and starting the container, you need to run
sudo docker exec -it nextcloud-aio-stalwart configure.shand follow https://stalw.art/docs/install/docker/#choose-where-to-store-your-data (1. chooseLocal disk, 2. chooseNo, create a new directory for me, 3. type in your$NC_DOMAINasdomain nameandmail.$NC_DOMAINasserver hostname. 4. addDKIM, SPF and DMARCas advised to your DNS config, 5. Take note of the administrator credentials, 6. Now the config script should exit and automatically restart the container and enable your config. - Afterwards, you can visit the basic admin settings in
https://your-nc-domain.com/settings/adminand add the your mail server there. - See https://github.com/nextcloud/all-in-one/tree/main/community-containers#community-containers how to add it to the AIO stack
Repository
https://github.com/marcoambrosini/aio-stalwart