Postfix is a free and open-source mail transfer agent (MTA) that routes and delivers email.
506
Postfix is a free and open-source mail transfer agent (MTA) that routes and delivers electronic mail.
This image is built in order to run Postfix only with SMTP service and provide email sending from another hosts reachable from network.
docker pull caligari/postfix:latest
Available image tags here.
git clone [email protected]:rafacouto/docker-postfix.git
docker build -t caligari/postfix:latest ./docker-postfix
Start SMTP service and expose it at port 25:
docker run --detach --name mailserver \
-p 25:25 \
-e DOMAIN=mydomain.com \
caligari/postfix
docker run \
-e HOSTNAME="mail" \
-e DOMAIN="example.com" \
-e MY_NETWORKS="127.0.0.0/8 172.17.0.0/16" \
caligari/postfix
Directory where mail queue is stored:
docker run \
-e DOMAIN=example.com \
-v $(pwd)/mail:/var/spool/mail \
caligari/postfix
Content type
Image
Digest
Size
56 MB
Last updated
about 8 years ago
docker pull caligari/postfix