Skip to content

Postfix container for docker/kube clusters for outbound mail relay

Notifications You must be signed in to change notification settings

trippd6/postfix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Tripp Donnelly
Apr 27, 2017
a92bf14 · Apr 27, 2017

History

3 Commits
Apr 27, 2017
Apr 27, 2017
Apr 27, 2017

Repository files navigation

postfix

I was looking for a way to run postfix in a container. Unfortunately it has a master process that then forks specialized processes when nessary. It requires syslog.

This container spins up postfix via chaperone. Chaperone starts/monitors the master pid. It handles signals correctly. It sends all the syslog to stdout. It also regenerates the transport db file at start, in case you need that (I do)

I haven't found anyone doing this a better way, so I thought I would share.

You'll want to mount a volume for the spool in /var/log/spool/postfix and mount in your config files into /etc/postfix. Configuration is up to you.

About

Postfix container for docker/kube clusters for outbound mail relay

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published