11 Sep
2020
11 Sep
'20
7:18 a.m.
On 11/09/2020 01:40 Olav Seyfarth olav@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-6782691...
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