On Wed, 10 Apr 2019 at 18:06, @lbutlr via dovecot <dovecot@dovecot.org> wrote:
> > > > On 10 Apr 2019, at 08:57, Odhiambo Washington via dovecot < > dovecot@dovecot.org> wrote: > > > > > > > > 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 > > } > > Sorry, i am confused. There is no similar clock in 10-master.conf > > In fact,. the string "stats" does not appear in that file at all. The > commented line > > #default_internal_user = dovecot > > is in that file, and that is the dovecot user (as seen in the permissions > above). > > Should I add > > service stats { > unix_listener stats-writer { > user = dovecot > } > unix_listener stats-reader { > user = dovecot > } > } > > to my dovecot.conf file? > > Add the two blocks to 10-master.conf, before the last "}" My dovecot runs as user mailnull. YMMV. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", grep ^[^#] :-)