1
0
mirror of https://github.com/myvesta/vesta.git synced 2025-03-12 04:35:23 -07:00

Creating spamassassin /nonexistent folder

This commit is contained in:
myvesta 2023-06-26 22:00:46 +02:00 committed by GitHub
parent ac98e1d9aa
commit a6eedcc6a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1545,6 +1545,12 @@ if [ "$spamd" = 'yes' ]; then
else
currentservice='spamd'
fi
echo "=== Creating spamassassin /nonexistent folder"
mkdir /nonexistent
mkdir /nonexistent/.spamassassin
chown -R nobody:debian-spamd /nonexistent
echo "=== Patching spamassassin dns_server"
sed -i "s/report_safe 1/report_safe 1\n\ndns_server 127.0.0.1/g" /etc/spamassassin/local.cf