Postfix based on ubuntu/debian with packages from deb.paranoid.nl and openssl3
100K+
eilandert/postfix is a security-hardened Docker image of Postfix, the fast,
secure MTA that moves your mail. It is built from the Postfix package on
deb.myguard.nl and is designed to pair with the
dovecot, rspamd, roundcube and vimbadmin images in this stack to form a
complete, modern, self-hosted mail server.
The build targets the modern MTA feature set: post-quantum-ready TLS, TLSRPT/MTA-STS, milter integration (rspamd, OpenDKIM) and SNI.
docker-compose.ymlservices:
postfix:
image: eilandert/postfix:latest
hostname: mail.example.com
restart: unless-stopped
read_only: true
cap_drop: [ALL]
cap_add:
- CHOWN
- SETUID
- SETGID
- NET_BIND_SERVICE # bind 25/587
security_opt:
- no-new-privileges:true
tmpfs:
- /run
volumes:
- postfix-spool:/var/lib/postfix
- ./postfix/main.cf:/etc/postfix/main.cf:ro
- ./tls:/etc/ssl/mail:ro
ports:
- "25:25" # inbound SMTP
- "587:587" # submission (STARTTLS, authenticated)
volumes:
postfix-spool:
Pair
587with SASL auth over TLS only, publish valid SPF/DKIM/DMARC, and route mail through therspamdmilter for scoring.
Content type
Image
Digest
sha256:f550c8b2a…
Size
139.2 MB
Last updated
about 8 hours ago
docker pull eilandert/postfix