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:
commit
2ef04b2d9c
2 changed files with 2 additions and 1 deletions
|
@ -8,3 +8,4 @@ script:
|
|||
cache:
|
||||
directories:
|
||||
- /nix/store
|
||||
timeout: 600
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue