<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">On 24 Nov 2018, at 8.33, Odhiambo Washington <<a href="mailto:odhiambo@gmail.com" class="">odhiambo@gmail.com</a>> wrote:<br class=""><div><blockquote type="cite" class=""><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><br class=""><div class="">I installed 2.3.4 and just used it with the config files for 2.3.3 without changing anything in the configuration.</div><div class="">I then realized that the LDA was throwing errors.</div><div class=""><br class=""></div><div class="">2018-11-24 00:02:51 1gQIaw-000AZS-Bc </var/spool/virtual/<a href="http://crownkenya.com/john.doe/Maildir" class="">crownkenya.com/john.doe/Maildir</a>>: dovecot_virtual_delivery transport output: lda(<a href="mailto:john.doe@our.domain.name" class="">john.doe@our.domain.name</a>)Error: net_connect_unix(/var/run/dovecot//stats-writer) failed: Permission denied<br class=""></div><div class=""><br class=""></div><div class="">I checked on the presence of the sockets in /var/run/dovecot:</div><div class=""><br class=""></div><div class=""><div class="">srw------- 1 root wheel 0 Nov 24 09:07 stats-reader</div><div class="">srw-rw---- 1 root dovecot 0 Nov 24 09:07 stats-writer</div></div></div></div></div></div></blockquote><div><br class=""></div><div>What user/group does dovecot_virtual_delivery run as? Change the stats-writer socket's owner to be that user. For example:</div><div><br class=""></div><div><div class="">service stats {</div><div class=""> unix_listener stats-writer {</div><div class=""> user = vmail</div><div class=""> }</div><div class="">}</div><div class=""><br class=""></div><div class="">Or alternatively change dovecot_virtual_delivery to use dovecot group.</div></div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">I have tried to find any mention of stats-{writer|reader} in the example configs shipped with 2.3.4 and found nothing. I have backed-off 2.3.4 for now till I can figure out how to assign proper permissions to these sockets - or just to figure out why by default, permission is being denied.</div></div></div></div></div></blockquote><div><br class=""></div><div>Looks like this is happening now because in earlier versions the dovecot-lda process wasn't sending any statistics.</div><div><br class=""></div></div></body></html>