From 63f3e31baa5c5bea650819b4468fad527a244dd0 Mon Sep 17 00:00:00 2001 From: Baptiste Mille-Mathias Date: Fri, 9 Feb 2024 18:07:40 +0100 Subject: [PATCH] Document missing environment variables --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index af58234..6dd2119 100644 --- a/README.md +++ b/README.md @@ -12,11 +12,13 @@ This image supports the following enironment variables. All are **required**. | Variable | Use | Example | |----------------------------|---------------------------------------------------------------------|---------------------------| -| `SMTP_RELAY_HOST` | Hostname of upstream SMTP relay server | `[smtp.sendgrid.net]:587` | -| `SMTP_RELAY_USERNAME` | Username for upstream SMTP relay server | `apikey` | -| `SMTP_RELAY_PASSWORD` | Password for upstream SMTP relay server | `pAsSwOrD` | -| `SMTP_RELAY_MYHOSTNAME` | Hostname of this SMTP relay | `smtp-relay.yourhost.com` | -| `SMTP_RELAY_MYNETWORKS` | Comma-separated list of local networks that can use this SMTP relay | `127.0.0.0/8,10.0.0.0/8` | +| `SMTP_RELAY_HOST` | Hostname of upstream SMTP relay server | `[smtp.sendgrid.net]:587` | +| `SMTP_RELAY_USERNAME` | Username for upstream SMTP relay server | `apikey` | +| `SMTP_RELAY_PASSWORD` | Password for upstream SMTP relay server | `pAsSwOrD` | +| `SMTP_RELAY_MYHOSTNAME` | Hostname of this SMTP relay | `smtp-relay.yourhost.com` | +| `SMTP_RELAY_MYNETWORKS` | Comma-separated list of local networks that can use this SMTP relay | `127.0.0.0/8,10.0.0.0/8` | +| `SMTP_RELAY_WRAPPERMODE` | Request postfix connects using SUBMISSIONS/SMTPS protocol instead of STARTTLS | `no` | +| `SMTP_TLS_SECURITY_LEVEL` | default SMTP TLS security level for the Postfix SMTP client | `""` | # Quickstart Run on docker @@ -27,6 +29,8 @@ docker run --rm -it -p 2525:25 \ -e SMTP_RELAY_USERNAME=username \ -e SMTP_RELAY_PASSWORD=password \ -e SMTP_RELAY_MYNETWORKS=127.0.0.0/8,10.0.0.0/8 \ + -e SMTP_RELAY_WRAPPERMODE=no \ + -e SMTP_TLS_SECURITY_LEVEL="" \ djjudas21/smtp-relay ```