Post

Mailcow LXC

Below is my list of commands to get Mailcow running in a Alpine based LXC under Proxmox using the excellent Proxmox helper scripts by tteck. This is officially un-supported by Mailcow but I’ve now had it running for a month or so and there’s been no issues to date.

You’ll want to install either Portainer or the Portiner plugin so that you can gain control for future access etc.

Info

⭐ tteck Alpine LXC script https://tteck.github.io/Proxmox/#alpine-lxc

1
2
3
4
5
6
7
8
apk add --no-cache --upgrade grep sed coreutils openssl git findutils
cd /opt
git clone https://github.com/mailcow/mailcow-dockerized
cd mailcow-dockerized/
./generate_config.sh
nano /opt/mailcow-dockerized/mailcow.conf
docker compose pull
docker compose up -d

Pretty simple hey! :)

This post is licensed under CC BY 4.0 by the author.