Then figure out what user/group needs the access and set the perms.

I can't help you other than what I've shown you. 

(my box doesn't have foreign users on it, so this was the most espedient route for me).


On Sat, Apr 20, 2019 at 3:16 PM @lbutlr via dovecot <dovecot@dovecot.org> wrote:
On 20 Apr 2019, at 14:05, Larry Rosenman via dovecot <dovecot@dovecot.org> wrote:
> service stats {
>   unix_listener stats-reader {
>     group = mail

Why would I change the group from the group the socket is using?

>     mode = 0666

That cannot possibly be best practice.

I'm not opening up any part of my mail stack to all processes.

>> # ls -ls /var/run/dovecot/stats-writer
>> 0 srw-rw----  1 dovecot  dovecot  0 Apr 20 04:34 /var/run/dovecot/stats-writer


--
Please to meet you, Rose. Now run for your life!




--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640 (c)     E-Mail: larryrtx@gmail.com
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106