mail-server/users.nix: don't expand variables in sieve script
This commit is contained in:
parent
fd3754f43d
commit
929cac8f50
|
@ -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 New Issue