Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 587 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 587 Bytes

Postfix in Docker

Postfix in a Docker container.

Postfix version: 3.7.3

mkdir -pv /opt/postfix-relay/etc/postfix
mkdir -pv /opt/postfix-relay/var/log
podman run \
  --name postfix-relay \
  --detach \
  --net host \
  --pid host \
  -ti \
  -p 25:25 \
  -v "/opt/postfix-relay/etc/postfix:/etc/postfix" \
  -v "/opt/postfix-relay/var/log:/var/log" \
  postfix:3.7.3
podman build --build-arg ARCH=amd64/ -t reinventedstuff/postfix-docker:$(cat .version) .
podman build --build-arg ARCH=amd64/ -t reinventedstuff/postfix-docker:$(cat .version) .