You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Daniel Carrillo 39cca57fd2
Merge pull request #5 from dcarrillo/3.6.3-r0
Bump alpine to 3.14 and postfix to 3.6.3-r0
2 years ago
.github/workflows Fix automerge version 3 years ago
service Fix aliases database population on startup 3 years ago
tests Add testing and github workflow 3 years ago
Dockerfile Bump alpine to 3.14 and postfix to 3.6.3-r0 2 years ago
LICENSE First commit 3 years ago
README.md Add github actions badge 3 years ago
build.sh Add testing and github workflow 3 years ago
conf.env Bump alpine to 3.14 and postfix to 3.6.3-r0 2 years ago
entrypoint.sh First commit 3 years ago
rsyslog.conf First commit 3 years ago

README.md

Minimal postfix docker image

build

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