mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2024-12-28 16:06:12 +01:00
mail-server/users.nix: don't expand variables in sieve script
This commit is contained in:
parent
fd3754f43d
commit
929cac8f50
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue