Sign inSign up

retali8/postfix

By retali8

Updated almost 4 years ago

Postfix (for receiving mail only vhosts supported)

Image
0

332

retali8/postfix repository overview

docker-postfix

This Docker image is for only receiving mail not sending mail. It supports unlimited domains, mailboxes, and aliases.

To run:

git clone https://github.com/retalieight/docker-postfix.git && cd docker-postfix

Edit the docker-compose.yml file and replace the environment variables and volume paths to your liking.

Once finished you can start the container by running:

docker-compose up -d

Logs:

docker logs postfix -f

Environment variables:

ROOT_ALIAS=[email protected]
SERVER_HOSTNAME=mx.example.com
MESSAGE_SIZE_LIMIT=52428800
LOG_SUBJECT=yes
SSL_CERT_FILE=/path/to/ssl.crt
SSL_KEY_FILE=/path/to/ssl.key

Binaries to run once the container is running:

BinaryDescription
bin/create_aliasCreate a mailbox alias
bin/create_domainAdd a domain name
bin/create_mailboxCreate a mailbox

Tag summary

Content type

Image

Digest

sha256:a9842e0b7

Size

30.1 MB

Last updated

almost 4 years ago

docker pull retali8/postfix:2.0