From 619d3781f5079917ffeb446750ae5370b55236e3 Mon Sep 17 00:00:00 2001 From: David Duque Date: Tue, 18 Oct 2022 20:35:25 +0100 Subject: [PATCH] noreply addresses: Use correct db path * Fixes #82 --- setup/mail-users.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/mail-users.sh b/setup/mail-users.sh index 9a9b6ae..f2740bd 100755 --- a/setup/mail-users.sh +++ b/setup/mail-users.sh @@ -158,7 +158,7 @@ EOF # SQL statement to check if we're sending to a noreply address. cat > /etc/postfix/noreply-addresses.cf << EOF; -dbpath=~$STORAGE_ROOT/mail/users.sqlite +dbpath=$db_path query = SELECT 'REJECT This address is not ready to receive email.' FROM noreply WHERE email='%s' EOF