https://github.com/ccnmtl/postfix-docker
postfix docker container
https://github.com/ccnmtl/postfix-docker
Last synced: about 2 months ago
JSON representation
postfix docker container
- Host: GitHub
- URL: https://github.com/ccnmtl/postfix-docker
- Owner: ccnmtl
- Created: 2015-04-09T13:09:25.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-09T14:31:27.000Z (about 10 years ago)
- Last Synced: 2025-03-22T10:42:25.555Z (2 months ago)
- Language: Shell
- Size: 113 KB
- Stars: 3
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
stripped down postfix container designed for linking to docker containers.
minimal image running postfix and rsyslog. configured to relay for
other docker containers (on docker's 172.17.0.0/16 range).So, you would run it with something like:
$ docker run --name=postfix -e MAILNAME=mail.myserver.com \
localhost:5000/ccnmtl/postfixThen, if you had, say a Django app container that you wanted to be
able to send mail, you would link it with:$ docker run -P --link=postfix:postfix mydjangoapp
The environment variables `POSTFIX_PORT_25_TCP_ADDR` and
`POSTFIX_PORT_25_TCP_PORT` in your django container would then contain
the correct IP/port combo for in internal link to the postfix
container. So you would configure your django app to send SMTP
requests there.This was inspired by
[catatnight/docker-postfix](https://github.com/catatnight/docker-postfix)
but we took out the TLS/OpenDKIM stuff and made it a bit simpler to
link.