No description
Find a file
2025-06-12 16:36:03 +00:00
build First commit 2024-12-19 20:27:46 +00:00
01-setup.sh Remove OCSP 2025-06-12 16:36:03 +00:00
docker-compose.yaml First commit 2024-12-19 20:27:46 +00:00
README.md First commit 2024-12-19 20:27:46 +00:00

MyveMail Backup

All-in-one docker container to host your own personal backup mail server, powered by Postfix mail transfer agent. If your primary mail server goes down, emails will be temporarily sent to this backup server, which then returns these emails to the primary as soon as it comes back online.

Note: ISP must have SMTP Port 25 open.

:: Pre-installation

Update your DNS registry to reflect the following records

# MX Record
@                       300 IN MX   10   ${subdomain}.${domain}.

# A Record
${subdomain}            300 IN A        ${server-ip-address}

Example entries:

server-ip-address=         # Host IPv4 address
subdomain=mail
domain=website.com

:: Installation

Clone this repo and build it locally or pull it on the registry specified in docker-compose.yaml:

git clone https://git.myvelabs.com/docker/myvemailbackup.git

Supply the variables asked for in 01-setup.sh.

Run 01-setup.sh to install the Letsencrypt certificates to be used by Postfix. It also generates a functional docker-compose env file.

Note: The container will fail if this step is skipped.

Once completed, the container may be brought up:

docker compose up --detach

:: Post-installation

Add the backup server's IP address to the primary mail server's Postfix mynetworks configuration to properly receive the bounced emails.