fix(mailserver): Ensure dovecot users file is readable
Add permission fix for /etc/dovecot/users in startup script. Without this, dovecot auth fails with "Permission denied" when trying to read the passwd-file for LMTP delivery. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
a0fc2cee62
commit
f5d2122fd3
@ -85,6 +85,9 @@ mkdir -p /run/dovecot
|
||||
chown -R dovecot:dovecot /run/dovecot
|
||||
chmod 755 /run/dovecot
|
||||
|
||||
# Ensure dovecot users file is readable (fixes LMTP lookup errors)
|
||||
[ -f /etc/dovecot/users ] && chmod 644 /etc/dovecot/users && chown root:dovecot /etc/dovecot/users
|
||||
|
||||
# Start services
|
||||
/usr/sbin/rsyslogd
|
||||
sleep 1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user