<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi!</p>
<p>For small systems I'd recommend fixing this with</p>
<pre>
</pre>
service stats {<br>
unix-socket stats-writer {<br>
mode = 0666<br>
}<br>
}
<p>The error itself is not really an error, and it only means that
you don't get stats from the process warning about these. If you
are not using the new metrics system this is not a problem. <br>
</p>
<p>Aki<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 4.2.2021 17.00, Jeff Abrahamson
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:80c23d0e-8250-bc90-6bb9-7c7fb3e55bcf@p27.eu">
<pre class="moz-quote-pre" wrap="">On postfix/pipe lines in my log, I see this error:
Error: net_connect_unix(/var/run/dovecot/stats-writer) failed:
Permission ))
even though I also set
[T] jeff@nantes-m1:postfix $ ll /var/run/dovecot/*stat*
srw------- 1 root root 0 Feb 4 14:55 /var/run/dovecot/old-stats
prw------- 1 root root 0 Feb 4 14:55
/var/run/dovecot/old-stats-mail
prw------- 1 root root 0 Feb 4 14:55
/var/run/dovecot/old-stats-user
srw-rw---- 1 dovecot dovecot 0 Feb 4 14:55
/var/run/dovecot/stats-reader
srw-rw---- 1 dovecot dovecot 0 Feb 4 14:55
/var/run/dovecot/stats-writer
[T] jeff@nantes-m1:postfix $
I've not found documentation on what should be happening there or what
the right config is, though I did find some suggestions that 0660 and
dovecot:dovecot is right. (I've also not understood why I care,
except I don't like to see regular errors in my logs if I can avoid
it.)
Any pointers?
Thanks.
</pre>
</blockquote>
</body>
</html>