Skip to content

Postfix docker container (intended as a backup MX or for testing)

License

Notifications You must be signed in to change notification settings

Don-Swanson/postfix-container

Repository files navigation

postfix-container

Postfix docker container (intended as a backup MX or for testing)

Docker Image

Creates a Docker Image of Postfix. The Primary intention is to use this image as a backup MX, testing email sending, or as a relay where needed.

On every start, the container will re-run the transport postmap. So if you need to change your transport maps, you just need to do a docker compose down and up.

There is a sample docker-compose.yml for your convenience.

Volumes

Volumes you may want to map are:

  • /var/spool/postfix (Mail Queues)
  • /config (Basic Config Files)

Optional

  • /var/log (Log Files)
  • /etc/postfix (ALL Config Directory)

Ports

Ports to expose

  • 25 (SMTP relay)
  • 587 (Mail submission)

About

Postfix docker container (intended as a backup MX or for testing)

Resources

License

Stars

Watchers

Forks

Releases

No releases published