From 929cac8f503459ba2beb0ac0fa433dbf504c99f8 Mon Sep 17 00:00:00 2001 From: Ruben Maher Date: Tue, 13 Feb 2018 10:10:30 +1030 Subject: [PATCH] mail-server/users.nix: don't expand variables in sieve script --- mail-server/users.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail-server/users.nix b/mail-server/users.nix index a2728f0..ef7d137 100644 --- a/mail-server/users.nix +++ b/mail-server/users.nix @@ -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"