mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-01-24 05:16:55 +02:00
dovecot: fix precompiling of sieve scripts
This commit is contained in:
parent
3885b07a99
commit
c918726143
@ -407,14 +407,6 @@ sievec /var/vmail/sieve/global_sieve_after.sieve
|
|||||||
sievec /usr/lib/dovecot/sieve/report-spam.sieve
|
sievec /usr/lib/dovecot/sieve/report-spam.sieve
|
||||||
sievec /usr/lib/dovecot/sieve/report-ham.sieve
|
sievec /usr/lib/dovecot/sieve/report-ham.sieve
|
||||||
|
|
||||||
for file in /var/vmail/*/*/sieve/*.sieve ; do
|
|
||||||
if [[ "$file" == "/var/vmail/*/*/sieve/*.sieve" ]]; then
|
|
||||||
continue
|
|
||||||
fi
|
|
||||||
sievec "$file" "$(dirname "$file")/../.dovecot.svbin"
|
|
||||||
chown vmail:vmail "$(dirname "$file")/../.dovecot.svbin"
|
|
||||||
done
|
|
||||||
|
|
||||||
# Fix permissions
|
# Fix permissions
|
||||||
chown root:root /etc/dovecot/sql/*.conf
|
chown root:root /etc/dovecot/sql/*.conf
|
||||||
chown root:dovecot /etc/dovecot/sql/dovecot-dict-sql-sieve* /etc/dovecot/sql/dovecot-dict-sql-quota* /etc/dovecot/lua/passwd-verify.lua
|
chown root:dovecot /etc/dovecot/sql/dovecot-dict-sql-sieve* /etc/dovecot/sql/dovecot-dict-sql-quota* /etc/dovecot/lua/passwd-verify.lua
|
||||||
|
@ -221,7 +221,7 @@ services:
|
|||||||
- sogo
|
- sogo
|
||||||
|
|
||||||
dovecot-mailcow:
|
dovecot-mailcow:
|
||||||
image: mailcow/dovecot:1.30
|
image: mailcow/dovecot:2.0
|
||||||
depends_on:
|
depends_on:
|
||||||
- mysql-mailcow
|
- mysql-mailcow
|
||||||
- netfilter-mailcow
|
- netfilter-mailcow
|
||||||
|
Loading…
x
Reference in New Issue
Block a user