mirror of
https://github.com/maxkratz/docker_postfix.git
synced 2025-01-24 11:28:49 +00:00
Postfix SMTP backup relay server as Docker image
|
||
---|---|---|
.github/workflows | ||
config | ||
.gitignore | ||
build-man.sh | ||
docker-compose.yml.example | ||
Dockerfile | ||
LICENSE | ||
README.md |
Docker Postfix
Unofficial Postfix Dockerfile for backup MX (relay host) purposes Prebuild images can be found at this Dockerhub repository.
Quickstart
After installing Docker, just run the following steps:
- Copy
docker-compose.yml.example
todocker-compose.yml
. - Create your config files:
./config/main.cf
,./config/relay_recipients
,./config/dh_2048.pem
,./config/mailname
, and$ touch ./data/postfix.log
- You can use the provided example files to get started.
- Update the file
docker-compose.yml
and set your values. - Run the following command to start your Postfix instance:
$ docker-compose up -d
The compose file also starts a container for publishing metrics using this Docker image.
Dockerfile
The Dockerfile can be found at the Github repository.
What gets installed in this image?
The following packages are installed in this Docker image:
- Some utility packages like build essentials etc.
- Postfix
Issues & Contribution
If you find any problems, bugs or missing packages, feel free to open an issue on Github.