mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2024-12-29 12:30:34 +05:00
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
@ -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 New Issue
Block a user