Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kadasz/image-smtp
🐳 Dockerized Postfix SMTP relay based on baseimage-docker
https://github.com/kadasz/image-smtp
docker docker-postfix docker-smtp image-smtp postfix-smtp
Last synced: about 1 month ago
JSON representation
🐳 Dockerized Postfix SMTP relay based on baseimage-docker
- Host: GitHub
- URL: https://github.com/kadasz/image-smtp
- Owner: kadasz
- Created: 2018-07-11T15:24:01.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-22T19:44:44.000Z (over 6 years ago)
- Last Synced: 2023-09-17T06:44:36.957Z (over 1 year ago)
- Topics: docker, docker-postfix, docker-smtp, image-smtp, postfix-smtp
- Language: Shell
- Size: 3.91 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# image-smtp
Setup Postfix SMTP relay using Docker### What for?
Able to sending email without using an external SMTP server
## How to use this image
### Build the image
```
git clone https://github.com/kadasz/image-smtp
cd image-smtp
docker build -t image-smtp .
```### Run a container
The env variables should to be passed during starts container:
- `DOMAIN` the domain name your server is using
- `HOSTNAME` should be set to the FQDN of your mail server
- `NETWORKS` option means that relay mail from these IP without authentication```
docker run -d --name mail --hostname mail -p 25:25 -e DOMAIN="domain.com" -e HOSTNAME="mail.domain.com" -e NETWORKS="127.0.0.0/8 192.168.10.0/24" image-smtp
```The mail container will be started with exposed the 25 port to the docker host server.