[Dovecot] Really strange race condition when reading an untouched LUA file on slower systems

master
andryyy 2019-12-05 10:14:41 +01:00
parent 4715245697
commit b7a749208d
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
2 changed files with 5 additions and 1 deletions

View File

@ -306,4 +306,8 @@ for file in /hooks/*; do
fi
done
# For some strange, unknown and stupid reason, Dovecot may run into a race condition, when this file is not touched before it is read by dovecot/auth
# May be related to something inside Docker, I seriously don't know
touch /var/lib/dovecot/app-passdb.lua
exec "$@"

View File

@ -172,7 +172,7 @@ services:
- sogo
dovecot-mailcow:
image: mailcow/dovecot:1.102
image: mailcow/dovecot:1.103
depends_on:
- mysql-mailcow
dns: