https://github.com/nl2go/docker-postfix
Containerized Postfix mail server
https://github.com/nl2go/docker-postfix
docker-compose dockerfile postfix
Last synced: 5 months ago
JSON representation
Containerized Postfix mail server
- Host: GitHub
- URL: https://github.com/nl2go/docker-postfix
- Owner: nl2go
- License: mit
- Created: 2019-11-10T16:36:04.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-18T10:32:52.000Z (about 6 years ago)
- Last Synced: 2025-02-27T00:41:29.003Z (11 months ago)
- Topics: docker-compose, dockerfile, postfix
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://hub.docker.com/repository/docker/nl2go/postfix/general)
[](https://hub.docker.com/r/nl2go/postfix)
[](https://hub.docker.com/repository/docker/nl2go/postfix/tags?page=1)
# Docker Postfix
Containerized [Postfix](http://www.postfix.org/) mail server.
## Configuration
This project heavily relies on the Postfix [default configuration](http://www.postfix.org/postconf.5.html).
Additional configuration may be mounted as volume if needed. Any `*.cf` files from `/etc/postfix/main.cf.d/` will be sequentially applied using `postconf -e =` command.
To apply custom configuration mount the config file in the [main.cf](http://www.postfix.org/postconf.5.html) format as volume:
```
docker run -d -p 2500:25 \
-v /custom.cf:/etc/postfix/main.cf.d/10-custom.cf \
nl2go/postfix
```
## Development
Run locally built image
docker-compose run postfix
Rebuild image
docker-compose build postfix
## Maintainers
- [build-failure](https://github.com/build-failure)
## License
See the [LICENSE.md](LICENSE.md) file for details