https://github.com/maxkratz/docker_postfix
Postfix SMTP backup relay server as Docker image
https://github.com/maxkratz/docker_postfix
docker docker-compose email postfix
Last synced: about 2 months ago
JSON representation
Postfix SMTP backup relay server as Docker image
- Host: GitHub
- URL: https://github.com/maxkratz/docker_postfix
- Owner: maxkratz
- License: apache-2.0
- Created: 2021-12-29T13:51:37.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-27T05:14:56.000Z (about 2 years ago)
- Last Synced: 2025-01-13T03:12:17.044Z (over 1 year ago)
- Topics: docker, docker-compose, email, postfix
- Language: Dockerfile
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker Postfix
[](https://github.com/maxkratz/docker_postfix/actions/workflows/build.yml)
*Unofficial* Postfix Dockerfile for backup MX (relay host) purposes
Prebuild images can be found at this [Dockerhub repository](https://hub.docker.com/r/maxkratz/postfix).
## Quickstart
After installing [Docker](https://docs.docker.com/get-docker/), just run the following steps:
* Copy `docker-compose.yml.example` to `docker-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](https://github.com/maxkratz/postfix_exporter).
## Dockerfile
The Dockerfile can be found at the [Github repository](https://github.com/maxkratz/docker_postfix).
## 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](https://github.com/maxkratz/docker_postfix/issues).