Public | Automated Build

Last pushed: a month ago
Short Description
The postfix daemon in a small Alpine Linux container
Full Description


The postfix daemon in a small Alpine Linux container, with client
support for separate spamassassin container.


Configuration is defined as files in a volume mounted as
/etc/postfix/postfix.d. Within that directory:

  • Define your local settings as key = value pairs in; these
    will be added/updated into (via postconf).

  • Define aliases in aliases.

  • Define any map files such as virtusertable as *.map.

  • Define local users (if not using directory service) as

See etc-example directory and docker-compose.yml.


Variable Default Description
SASL_PASSWD_SECRET postfix-sasl-passwd name of secret for SASL map
TZ US/Pacific time zone


Secret Description
postfix-sasl-passwd mapped list of credentials for SASL destinations

Also, if you're using TLS, create a secret containing the SSL private key and
reference it in your smtpd_tls_key_file directive as shown in the example.

Docker Pull Command
Source Repository