https://github.com/sjinks/docker-alpine-postfix-relay
Simple Postfix SMTP relay image
https://github.com/sjinks/docker-alpine-postfix-relay
Last synced: 10 months ago
JSON representation
Simple Postfix SMTP relay image
- Host: GitHub
- URL: https://github.com/sjinks/docker-alpine-postfix-relay
- Owner: sjinks
- License: mit
- Created: 2021-05-10T01:21:26.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2025-08-18T18:56:09.000Z (10 months ago)
- Last Synced: 2025-08-18T20:42:39.380Z (10 months ago)
- Language: Shell
- Size: 416 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-alpine-postfix-relay
wildwildangel/postfix-relay is a simple Postfix SMTP relay Docker image based on Alpine Linux. It has *no local authentication configured* and is supposed to run in a trusted environment.
# Environment Variables
The entry point requires the following environment variables:
* `SERVER_HOSTNAME`: the hostname for this container;
* `SMTP_SERVER`: the address of the SMTP server to use.
The following environment variables are optional:
* `SMTP_PORT` (defaults to 587): the port of the target SMTP server (used together with `SERVER_HOSTNAME`);
* `SMTP_USERNAME`: the username to authenticate with. If it is not empty, then it is mandatory to pass one of `SMTP_PASSWORD` or `SMTP_PASSWORD_FILE`;
* `SMTP_PASSWORD_FILE`: the file containing the password of the authenticating user. The entry point script will read this file and assign its contents to the `SMTP_PASSWORD` variable;
* `SMTP_PASSWORD`: the password of the authenticating user;
* `SMTP_NETWORKS` (defaults to `10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16`): the list of networks that are allowed to relay emails via this server;
* `DEBUG`: set to `yes` to enable debugging (effectively executes `set -x`).