On Wed, 10 Apr 2019 at 17:50, @lbutlr via dovecot <dovecot@dovecot.org> wrote:
On 10 Apr 2019, at 08:36, @lbutlr via dovecot <dovecot@dovecot.org> wrote:
> net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission den))

One other detail:

/var/run/dovecot/stats-writer:
0 srw-rw----  1 root     dovecot     0 Apr 10 08:47 stats-writer


Edit your 10-master.conf and make sure that the user specified in the details below matches the dovecot user:


service stats {
  unix_listener stats-writer {
      user = mailnull
  }
  unix_listener stats-reader {
      user = mailnull
  }
 

--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", grep ^[^#] :-)