Doveadm error since 2.3.11.3 when run as unprivileged user

Aki Tuomi aki.tuomi at open-xchange.com
Fri Sep 11 08:18:35 EEST 2020


> On 11/09/2020 01:40 Olav Seyfarth <olav at seyfarth.de> wrote:
> 
>  
> On Thu, Aug 13, 2020, Arjen de Korte wrote:
> > include optional config file and suppress errors if it doesn't exist
> 
> I followed this workaround, which is nicely summarized at
> https://github.com/postfixadmin/postfixadmin/issues/381#issuecomment-678269198
> 
> Yet, not all errors are suppressed this way:
> 
> $ doveadm pw
> doveadm(olav): Error: net_connect_unix(/run/dovecot/stats-writer) failed: Permission denied
> 
> $ ls -l /run/dovecot/stats-writer
> srw-rw---- 1 root    dovecot    0 11. Sep 00:27 stats-writer
> 
> Olav

Hi!

That error is more like warning, and you can safely ignore it.

If you want to get rid of it, add

service stats {
   unix_listener stats-writer {
     mode = 0666
   }
}

Aki


More information about the dovecot mailing list