Mailstack based on docker images with dovecot, postfix, rmilter, rspamd
- [2019/04/03] fix postfix startup
- older changes are moved to changelog.md on git repo.
- RMilter is now not used anymore as of Rspamd 1.6 its obsolete (15-06-2017)
- questions/issues/pr/optimizations are welcome
- rspamd is not yet as configurable as it should be
- maybe others too.
- Docker / Docker-Engine installed:
- https://docs.docker.com/engine/installation/
- or from your distros repo if it has a new enough docker version
- Docker Compose installed(Version 1.6.2+):
- https://docs.docker.com/compose/install/
- you can actually use the setup script and the other shell scripts to install & manage.
- it's intended to run with wilder/nginx-proxy and jrcs/letsencrypt-nginx-proxy-companion
- cert path is set to /etc/ssl/docker
- if your cert path is different, please change in docker-compose.yml and recreate (after setup script is run)
docker-compose down -v && docker-compose up -d
curl -L https://raw.githubusercontent.com/setiseta/docker-mailstack/master/setup.sh -o setup.sh
chmod a+x setup.sh
./setup.sh
- cause the admin web ui is not ready yet there are some shell scripts in the git repository.
- get the script: add-mailuser.sh
- run and follow instructions
curl https://raw.githubusercontent.com/setiseta/docker-mailstack/master/add-mailuser.sh -o add-mailuser.sh
chmod 0755 ./add-mailuser.sh
./add-mailuser.sh
- get the script: add-domain.sh
- run and follow instructions
- add the DNS key from the output to your DNS Server
curl https://raw.githubusercontent.com/setiseta/docker-mailstack/master/add-domain.sh -o add-domain.sh
chmod 0755 ./add-domain.sh
./add-domain.sh
- get the script: mailuserpasswd.sh
- run and follow instructions
curl https://raw.githubusercontent.com/setiseta/docker-mailstack/master/mailuserpasswd.sh -o mailuserpasswd.sh
chmod 0755 ./mailuserpasswd.sh
./mailuserpasswd.sh
- get the script: rspamdpasswd.sh
- run and follow instructions
- restart rspamd
curl https://raw.githubusercontent.com/setiseta/docker-mailstack/master/rspamdpasswd.sh -o rspamdpasswd.sh
chmod 0755 ./mailuserpasswd.sh
./mailuserpasswd.sh
docker-compose restart rspamd
- map a init.custom.sh
- it will be executed befor anything is executed from the init.sh script