On Dienstag, 5. November 2024 20:37:18 Mitteleuropäische Normalzeit David C. Rankin wrote:
On 11/5/24 1:30 PM, mh@mike.franken.de wrote:
today I migrated one of my servers from Leap 15.5 to 15.6. So far everything works ok, besides:
map-login: Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied imap: Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied managesieve(<username>): Error: getpwnam(vmail) failed: Permission denied (from mail_uid setting) managesieve-login: Error: net_connect_unix(/var/run/dovecot/stats- writer) failed: Permission denied managesieve: Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied
Any idea, what to configure to get rid of these errors?
The "failed: Permission denied" is telling.
Also, how are you running the commands? As user or root? What does:
$ ls -al /var/run/dovecot
show? If nothing, what does
# ls -al /var/run/dovecot
Are there any errors listed in the journal? You have confirmed dovecot is up and running, e.g.
# systemctl status dovecot
It sounds like there is a file/directory permission problem on /var/run/dovecot or there is an /etc/group problem with a user not being part of a needed group, or dovecot failed to start or something of the like. We need to see more to narrow it down.
It was an apparmor "problem". Running aa-logprof solved it. Thx. Bye. Michael.