net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied
Hi,
We are getting very occasional messags from dovecot:
net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied
Over the last week, the message appeared five times. (on a mail server with over 100 users, to that's basically almost never)
doveconf -n below
snip...
and the on-disk permissions are:
We're not sure what makes the Permission denied error happen...
Anyone with an idea?
MJ
Hi, I'm seeing the same, but I think it's every time the lda is called to deliver mail to a mailbox. Postfix runs it as vmail:vmail.
My socket is owned by root:dovecot (on Debian buster).
Should I add vmail to the dovecot group to enable it to write? Or is changing the socket to 0666 safer?
I'm also a little confused, because according to https://doc.dovecot.org/configuration_manual/stats/ no statistics are logged by default, and I have no mentions of 'metric' anywhere in my config, so why is the write even attempted? (dovecot 2.3.4)
Cheers, Richard
On 24/10/20 4:46 am, Aki Tuomi wrote:
participants (3)
-
Aki Tuomi
-
mj
-
Richard Hector