Sign inSign up

drerik/postfix

By drerik

Updated over 6 years ago

simple postfix container to send email

Image
0

108

drerik/postfix repository overview

Postfix

A base image for postfix. If left unmodified, this image starts up a postfix server accepting relay connections on port 25 without authorization on the machines subnet.

Uses supervisord to start up postfix and rsyslog.

Build

To build

docker build -t postfix .

Run

Start up your container

docker run -d --name postfix postfix

And map you application container to it, to access postfix on port 25:

docker run -d --name yourapp --link postfix yourapp

Run with Docker Compose

If you want to use Docker Compose add these lines to your docker-compose.yml

postfix:
  build: .
  hostname: "smtp.yourserver.com"
  restart: always

Tag summary

Content type

Image

Digest

Size

115.3 MB

Last updated

over 6 years ago

docker pull drerik/postfix