Go to file
Daniel Carrillo bbfc0e186a
Merge pull request #2 from dcarrillo/3.4.12-r0
Bump postfix to 3.4.12 and add automerge action
2020-05-24 18:38:10 +02:00
.github/workflows Fix automerge version 2020-05-24 18:32:37 +02:00
service Fix aliases database population on startup 2020-03-08 13:26:50 +01:00
tests Add testing and github workflow 2020-03-08 13:27:44 +01:00
Dockerfile Add testing and github workflow 2020-03-08 13:27:44 +01:00
LICENSE First commit 2020-02-13 18:57:12 +01:00
README.md First commit 2020-02-13 18:57:12 +01:00
build.sh Add testing and github workflow 2020-03-08 13:27:44 +01:00
conf.env Bump postfix version to 3.4.12 2020-05-24 18:28:47 +02:00
entrypoint.sh First commit 2020-02-13 18:57:12 +01:00
rsyslog.conf First commit 2020-02-13 18:57:12 +01:00

README.md

Minimal postfix docker image

Simple postfix host intended for container clusters like swarm, Kubernetes, k3s, etc

This image allows you to run a postfix server (plain SMTP only) internally inside your docker cluster installation to centralise outgoing email sending.

This image is not for a production environment since there is no way to configure TLS, authentication, relay, etc.

How to run

docker run --rm --name postfix -e "MY_NETWORKS=192.168.0.0/24" -p 25:25 dcarrillo/postfix:latest

Runtime configuration as environment vars

MY_HOSTNAME=The internet hostname of this mail system
MY_DOMAIN=The internet domain name of this mail system
MY_NETWORKS=The list of "trusted" remote SMTP clients, probably the CIDR for your internal network inside your cluster
MY_ROOT_ALIAS=Alias of the root user to add to the aliases database