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:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- /nix/store
|
- /nix/store
|
||||||
|
timeout: 600
|
||||||
|
|
|
@ -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