Sign inSign up

modularitycontainers/postfix

By modularitycontainers

•Updated about 9 years ago

Postfix server container with several features

Image
1

10K+

modularitycontainers/postfix repository overview

⁠postfix

Postfix is a Mail Transport Agent (MTA).

⁠How to build the container on 25 port

docker build --tag=docker.io/modularitycontainers/postfix .

⁠How to use the container over standard 25 port

Command for running postfix docker container:

docker run -it -e MYHOSTNAME=localhost \
    -p 25:10025\
    -v /var/spool/postfix:/var/spool/postfix \
    -v /var/spool/mail:/var/spool/mail postfix
    -d docker.io/modularitycontainers/postfix

⁠How to use the container over standard TLS

Command for running postfix docker container:

docker run -it -e ENABLE_TLS -e DEBUG_MODE=yes -e MYHOSTNAME=localhost \
    -p 25:10025 \
    postfix -d docker.io/modularitycontainers/postfix

Environment variable DEBUG_MODE is used for debugging proposes from Postfix and dovecot point of views.

⁠How to use the container with IMAP.

Command for running postfix docker container:

POSTFIX_CERTS_PATH=/etc/postfix/certs
docker run -it -e ENABLE_IMAP -e MYHOSTNAME=localhost
    -e DEBUG_MODE \
    -p 587:10587 \
    -v ${POSTFIX_CERTS_PATH}:/etc/postfix/certs \
    postfix -d docker.io/modularitycontainers/postfix

Environment variable DEBUG_MODE is used for debugging proposes from Postfix and dovecot point of views.

⁠How to generate self signed SSL key for postfix

In case, you enable TLS support for postfix, you need to have certificates for postfix service.

For more information about Postfix TLS support see http://www.postfix.org/TLS_README.html

The page POSTFIX_CERTS_GENERATION.md will help you with generation self signed certificate used by postfix.

⁠How to test the postfix mail server

See help/help.md file.

Tag summary

Content type

Image

Digest

Size

80.6 MB

Last updated

about 9 years ago

docker pull modularitycontainers/postfix