Merge pull request #73 from eqyiel/fix-sieve-variables

mail-server/users.nix: don't expand variables in sieve script
This commit is contained in:
Robin Raymond 2018-02-20 11:59:13 +01:00 committed by GitHub
commit 2ef04b2d9c
Failed to generate hash of commit
2 changed files with 2 additions and 1 deletions

View file

@ -8,3 +8,4 @@ script:
cache:
directories:
- /nix/store
timeout: 600

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"