Postfix-Relay

Postfix-Relay

Docker-Anwendung from ZappyZap's Repository

Übersicht

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)

Laufzeit-Argumente

Netzwerk
bridge
Shell
sh
Privilegiert
false
Extra Params
--restart unless-stopped

Konfiguration der Vorlage

Data DirectoryPathrw

Used to store Postfix's mail spool

Ziel
/var/spool/postfix
Postfix SMTP serverPorttcp
Ziel
25
Standard
25
Wert
25
TimezoneVariable
Ziel
TZ
Standard
America/New_York
Wert
America/New_York
Public SMTPVariable

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

Ziel
RELAY_HOST
Relay PortVariable

Public SMTP port to use

Ziel
RELAY_PORT
SMTP usernameVariable

Address to login to $RELAY_HOST

Ziel
RELAY_USER
SMTP passwordVariable

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

Ziel
RELAY_PASS
Test Email addressVariable

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

Ziel
TEST_EMAIL
Domain from addressVariable

Domain of the from address

Ziel
MYORIGIN
NetworksVariable

Networks that Postfix will forward mail for

Ziel
MYNETWORKS
Standard
0.0.0.0/0
From AddressVariable

Changes the email from address

Ziel
FROMADDRESS

Statistik herunterladen

1,300,897
Downloads insgesamt
16,587
Dieser Monat
10,845
Durchschnittlich / Monat

Gesamte Downloads im Laufe der Zeit

Tabelle laden...

Einzelheiten

Repository
loganmarchione/docker-postfixrelay:latest
Zuletzt aktualisiert2026-05-03
Erstmals gesehen2022-11-14

Führen Sie Postfix-Relay auf Unraid aus.

Postfix-Relay ist gelistet in Community Apps für Unraid OS. Erkunden Sie Unraid, um einen flexiblen Heimserver, ein NAS oder ein Heimlabor aufzubauen.