Public | Automated Build

Last pushed: 2 months ago
Short Description
mailstack-postfix is part of a full mailstack
Full Description

Docker Mailstack

Mailstack based on docker images with dovecot, postfix, rmilter, rspamd


Last Changes

  • 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)

Info

  • questions/issues/pr/optimizations are welcome
  • rspamd is not yet as configurable as it should be
    • maybe others too.

Requirements


Install & Management

  • 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

Setup Script

curl -L https://raw.githubusercontent.com/setiseta/docker-mailstack/master/setup.sh -o setup.sh
chmod a+x setup.sh
./setup.sh

Manage Users & domains & passwords

  • cause the admin web ui is not ready yet there are some shell scripts in the git repository.

Add new Mailbox & Mailuser

  • 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

Add new Domain

  • 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

Update Mailuser Password

  • 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

Update Rspamd WebUI Password

  • 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

Postfix Startup Customizing

  • map a init.custom.sh
  • it will be executed befor anything is executed from the init.sh script
Docker Pull Command
Owner
seti
Source Repository

Comments (0)