Skip to content

Instantly share code, notes, and snippets.

@lprimak
Last active July 3, 2026 05:10
Show Gist options
  • Select an option

  • Save lprimak/d820b57cd4af730499eef0ea62332c72 to your computer and use it in GitHub Desktop.

Select an option

Save lprimak/d820b57cd4af730499eef0ea62332c72 to your computer and use it in GitHub Desktop.
How to run Maddy Email Server
On web1, look at /var/flowlogix/email/maddy/maddy.conf.
In the header, it will tell you how to run it
Example:
docker run --network=host -v /var/flowlogix/email/maddy:/data --name maddy-email-relay \
--restart unless-stopped -d flowlogix/maddy
How to build maddy (source: Docker instructions: https://maddy.email/docker/)
MADDY_RELEASE=v0.9.5
- Build locally, in ~/Download directory. Since Docker is used to build, no security issues
- Clone maddy: git clone https://github.com/foxcpp/maddy.git
- git checkout $MADDY_RELEASE
- Update Dockerfile, chance FROM: alpine:xxx to FROM: alpine:latest for the prod container
- docker build -t flowlogix/maddy:$MADDY_RELEASE -t flowlogix/maddy:latest --push .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment