From e1d0f95a7207e33f9455b1d8387d895f89e1230b Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Fri, 28 Feb 2025 20:15:24 +0100 Subject: [PATCH] adjust docu --- readme.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 3d715af..6f465c8 100644 --- a/readme.md +++ b/readme.md @@ -12,6 +12,7 @@ Four environment variables are used to configure the container: * `SMARTHOST_PASS`: Password for smarthost. * `LOCALMAILNAME`: The domain name which shall be used as the domain part of the sender address in every outgoing mail. If not required, skip it. * `RELAYNETS`: Networks exim in this container accepts for relaying. Separate multiple networks by semicolon. +* `WHITELISTED_RECIPIENT`: Colon-separated list of whitelisted recipient domains, if empty no recipient restrictions will be applied ## Deployment @@ -24,7 +25,7 @@ Typically, don't expose the smtp port of this container to the default network o ``` #!/bin/bash -IMAGE=quay.io/wollud1969/exim-docker:0.2.2 +IMAGE=quay.io/wollud1969/exim-docker:0.3.2 MAILER_NETWORK=mailer-network docker network create $MAILER_NETWORK || echo "mailer-network already exists" @@ -38,6 +39,7 @@ docker run \ -e SMARTHOST=smarthost.example.com \ -e LOCALMAILNAME=krohne.com \ -e RELAYNETS=$RELAYNETS \ + -e WHITELISTED_RECIPIENT="example-recipients.com" \ --network $MAILER_NETWORK \ --name mailer \ --restart always \