noreply addresses: Use correct db path

* Fixes #82
This commit is contained in:
David Duque 2022-10-18 20:35:25 +01:00
parent 025494ed9c
commit 619d3781f5

View file

@ -158,7 +158,7 @@ EOF
# SQL statement to check if we're sending to a noreply address. # SQL statement to check if we're sending to a noreply address.
cat > /etc/postfix/noreply-addresses.cf << EOF; 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' query = SELECT 'REJECT This address is not ready to receive email.' FROM noreply WHERE email='%s'
EOF EOF