Sign inSign up

wmandra/postfix

By wmandra

•Updated almost 4 years ago

Simple postfix mail server container for arm64.

Image
0

1.2K

wmandra/postfix repository overview

⁠postfix

Postfix is a mail server and a widely used alternative to Sendmail. Postfix attempts to be fast, easy to administer, and secure.

Original Source: https://xc2.wb1.xyz/post/how-to-run-a-postfix-mail-server-in-a-docker-container/⁠

⁠Docker
services:
  postfix:
    image: wmandra/postfix:latest
    environment:
      POSTFIX_HOSTNAME: "example.com"
      POSTFIX_RELAY_HOST: "example.com:587"
      POSTFIX_RELAY_USER: "user"
      POSTFIX_RELAY_PASSWORD_FILE: /run/secrets/postfix_password
    secrets:
      - postfix_password
secrets:
  postfix_password:
    file: ./stack/secrets/postfix_password.txt

alternatively, a main.cf configuration file can be mounted as a volume to the container:

services:
  postfix:
    image: wmandra/postfix:latest
    environment:
      POSTFIX_NO_CONFIG: "true"
    volumes:
      - /path/to/postfix/main.cf:/etc/postfix/main.cf

Tag summary

Content type

Image

Digest

sha256:34df0a4d9…

Size

20.5 MB

Last updated

almost 4 years ago

docker pull wmandra/postfix