Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/noteed/docker-postfix
Dockerfile for a Postfix server
https://github.com/noteed/docker-postfix
Last synced: about 2 months ago
JSON representation
Dockerfile for a Postfix server
- Host: GitHub
- URL: https://github.com/noteed/docker-postfix
- Owner: noteed
- Created: 2013-09-17T18:22:01.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-07-10T21:16:24.000Z (over 10 years ago)
- Last Synced: 2023-04-13T10:31:54.451Z (over 1 year ago)
- Language: Shell
- Size: 134 KB
- Stars: 46
- Watchers: 3
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mail server as a Docker image
This is a Dockerfile to get a Postfix mail server. Only Postfix is installed,
no Dovecot, no spamassassin, and so on (contributions are welcome).To get Postfix logs (and write them to stdout when the image is running), we
also install syslog-ng (I think rsyslog does not work within a container
because of the way upstart works; this needs to be checked).The Dockerfile (and thus the resulting image) is specific to
`mail.example.com` and a user `someone` is created. Simply replace
"example.com", and "someone" in all this repository files and you should get a
running mail server with the following commands:> docker build -t example.com/mail .
> mkdir maildirs
> docker run -p 25:25 -v `pwd`/maildirs:/var/mail example.com/mailNote: You have to setup a reverse DNS entry pointing back to your mail server's
hostname.