Postfix-Relay

Postfix-Relay

Application Docker from ZappyZap's Repository

Vue d'ensemble

This runs Postfix (as a relay) in Docker. Most home ISPs block port 25, so outbound emails must be relayed through an external SMTP server (e.g., Gmail). This container acts as a single collections point for devices needing to send email. ⚠️ Postfix acts as an open relay. As such, this is not meant to be run on the internet, only on a trusted internal network! ⚠️ Requirements You must already have a account on an external SMTP server (e.g., Gmail, AWS SES, etc...). Your external SMTP server must be using encryption (i.e., plaintext is not allowed)

Arguments d'exécution

Réseau
bridge
Coquille
sh
Privilégié
false
Paramètres supplémentaires
--restart unless-stopped

Configuration du modèle

Data DirectoryPathrw

Used to store Postfix's mail spool

Cible
/var/spool/postfix
Postfix SMTP serverPorttcp
Cible
25
Défaut
25
Valeur
25
TimezoneVariable
Cible
TZ
Défaut
America/New_York
Valeur
America/New_York
Public SMTPVariable

Public SMTP server to use must be using encryption (i.e., plaintext is not allowed)

Cible
RELAY_HOST
Relay PortVariable

Public SMTP port to use

Cible
RELAY_PORT
SMTP usernameVariable

Address to login to $RELAY_HOST

Cible
RELAY_USER
SMTP passwordVariable

Password to login to $RELAY_HOST If using Gmail 2FA, you will need to setup an app password

Cible
RELAY_PASS
Test Email addressVariable

Address to receive test email If not set, test email will not be sent

Cible
TEST_EMAIL
Domain from addressVariable

Domain of the from address

Cible
MYORIGIN
NetworksVariable

Networks that Postfix will forward mail for

Cible
MYNETWORKS
Défaut
0.0.0.0/0
From AddressVariable

Changes the email from address

Cible
FROMADDRESS

Télécharger les statistiques

1,300,897
Total des téléchargements
16,587
Ce mois-ci
10,845
Moyenne / Mois

Total des téléchargements au fil du temps

Chargement du graphique...

Détails

Référentiel
loganmarchione/docker-postfixrelay:latest
Dernière mise à jour2026-05-03
Première vue2022-11-14

Exécutez Postfix-Relay sur Unraid.

Postfix-Relay est listé dans Community Apps pour Unraid OS. Explorez Unraid pour créer un serveur domestique flexible, un NAS ou un laboratoire domestique.