From 0f0a033788b90a1179aeda0c01ba005c8fc0b304 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Thu, 23 Oct 2025 21:38:56 +0200 Subject: [PATCH] verify --- deployment/deploy.sh | 4 ++++ exim.conf | 6 ++++-- tools/forward_addresses | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/deployment/deploy.sh b/deployment/deploy.sh index dae0a54..64006ac 100755 --- a/deployment/deploy.sh +++ b/deployment/deploy.sh @@ -9,6 +9,7 @@ fi IMAGE_NAME=gitea.hottis.de/deployments/exim-forwarder NAMESPACE=forwarder DEPLOYMENT_DIR=$PWD/deployment +TOOLS_DIR=$PWD/tools pushd $DEPLOYMENT_DIR > /dev/null @@ -35,3 +36,6 @@ cat $DEPLOYMENT_DIR/deploy-yml.tmpl | \ popd > /dev/null +pushd $TOOLS_DIR > /dev/null +./update-addresses.sh +popd > /dev/null diff --git a/exim.conf b/exim.conf index 736ea40..18fb50b 100644 --- a/exim.conf +++ b/exim.conf @@ -23,8 +23,10 @@ acl_helo: accept acl_rcpt: - require verify = recipient - + # recipient verification + deny message = User unknown + !verify = recipient + # SPF check deny message = Access denied (1) spf = fail diff --git a/tools/forward_addresses b/tools/forward_addresses index 5342a83..8e63b38 100644 --- a/tools/forward_addresses +++ b/tools/forward_addresses @@ -1,2 +1,3 @@ wn@mainscnt.eu: wolfgang.hottgenroth@icloud.com wn@ib-hottgenroth.de: wolfgang.hottgenroth@icloud.com +test@ib-hottgenroth.de: wolfgang.hottgenroth@icloud.com, w.hottgenroth@krohne.com