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
1 changed files with 1 additions and 1 deletions

View File

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