Sign inSign up

hamann/docker-postfix

By hamann

•Updated almost 7 years ago

Fork from https://hub.docker.com/r/tozd/postfix with forwarding postfix logs to docker

Image
0

157

hamann/docker-postfix repository overview

Image providing Postfix⁠ as a service.

You should make sure you mount spool volume (/var/spool/postfix) so that you do not lose e-mail data when you are recreating a container. If a volume is empty, image will initialize it at the first startup.

By default it is configured for sending outbound e-mails. Otherwise, you can extend the image and configure it differently. See these examples:

Remember that for the best e-mail delivery external IP should match the hostname it resolves to.

If you are extending this image, you can add two scripts which will be run at a container startup:

  • /etc/service/postfix/run.config – to prepare any custom configuration, before anything else is run
  • /etc/service/postfix/run.initialization – will be run after the container is initialized, but before the Postfix daemon is run

Tag summary

Content type

Image

Digest

Size

95 MB

Last updated

almost 7 years ago

docker pull hamann/docker-postfix:milter