From c83544bd903ec76380e68e3fca129915eaef39e7 Mon Sep 17 00:00:00 2001 From: Bernhard Froehlich Date: Mon, 23 May 2022 15:18:22 +0000 Subject: [PATCH] Add note how to use environment variables for configuration --- README.md | 1 + smtprelay.ini | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/README.md b/README.md index b07757f..2355708 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ device which produces mail. ## Main features +* Simple configuration with ini file or environment variables * Supports SMTPS/TLS (465), STARTTLS (587) and unencrypted SMTP (25) * Checks for sender, receiver, client IP * Authentication support with file (LOGIN, PLAIN) diff --git a/smtprelay.ini b/smtprelay.ini index f0c1d4b..cca560e 100644 --- a/smtprelay.ini +++ b/smtprelay.ini @@ -1,4 +1,8 @@ ; smtprelay configuration +; +; All config parameters can also be provided as environment +; variables in uppercase and the prefix "SMTPRELAY_". +; (eg. SMTPRELAY_LOGFILE, SMTPRELAY_LOG_FORMAT) ; Logfile (blank/default is stderr) ;logfile =