mail-server/users.nix: don't expand variables in sieve script

This commit is contained in:
Ruben Maher 2018-02-13 10:10:30 +10:30
parent fd3754f43d
commit 929cac8f50

View file

@ -50,7 +50,7 @@ let
chown "${name}:${vmailGroupName}" "/var/sieve/${name}"
chmod 770 "/var/sieve/${name}"
fi
cat << EOF > "/var/sieve/${name}/default.sieve"
cat << 'EOF' > "/var/sieve/${name}/default.sieve"
${sieveScript}
EOF
chown "${name}:${vmailGroupName}" "/var/sieve/${name}/default.sieve"