Upgraded from 2.3.3 to 2.3.4 and this appears in the logs even when stats service is not used. 2.3.3 does not throw this error. Even although this appears in the logs, the mail still gets delivered. The permissions on /var/run/dovecot//stats-writer seems to be the same on 2.3.3 and 2.3.4. Dec 15 21:11:32 EBox postfix/pipe[17738]: CC1E3234002B: to=<user@domain.com>, relay=dovecot, delay=5.8, delays=5.4/0.01/0/0.39, dsn=2.0.0, status=sent (delivered via dovecot service (lda(user@domain.com,)Error: net_connect_unix(/var/run/dovecot//stats-writer) failed: Permissio)) Reproducible: Always Steps to Reproduce: 1. upgrade dovecot to 2.3.4 2. restart dovecot 3. receive mail and observe logs Actual Results: No error in logs
Same here on 2.3.4.1. https://forum.iredmail.org/topic15113-error-netconnectunixvarrundovecotstatswriter-failed.html service stats { unix_listener stats-reader { user = vmail group = vmail mode = 0660 } unix_listener stats-writer { user = vmail group = vmail mode = 0660 } }
(In reply to Tomáš Mózes from comment #1) > service stats { > unix_listener stats-reader { > user = vmail > group = vmail > mode = 0660 > } > > unix_listener stats-writer { > user = vmail > group = vmail > mode = 0660 > } > } Content inserted in (new file) /etc/dovecot/conf.d/10-stats.conf. No more error in dovecot-2.3.13-r100.