Docker: Установка Mailcow
Version 2.1 by Алексей Александрович Иванов on 2025/12/11 13:26
Debian/Ubuntu:¶
1. apt update apt install -y git openssl curl gawk coreutils grep jq
2. apt update apt install docker-compose-plugin
Installing mailcow
Clone the repository:
su
umask 0022
cd /opt
git clone https://github.com/mailcow/mailcow-dockerized cd mailcow-dockerized
Generate the configuration file:
./generate_config.sh
Adjust the configuration if necessary:
nano mailcow.conf
Starting mailcow¶
docker compose pull docker compose up -d
You can now access https://${MAILCOW_HOSTNAME}/admin using the default credentials admin and the password moohoo.
Перенос почтового хранилища rsync -aHAX --info=progress2 /var/lib/docker/volumes/mailcowdockerized_vmail-vol-1/_data/ /mnt/vmail/vmail_data/