service stats {
  unix_listener stats-reader {
    group = mail
    mode = 0666
    user =
  }
  unix_listener stats-writer {
    group = mail
    mode = 0666
    user =
  }
}
service anvil {
  unix_listener anvil {
    group = mail
    mode = 0666
  }
}

in my local.conf.  

Maybe a resend (sorry for the dupe if it is)

On Sat, Apr 20, 2019 at 2:46 PM @lbutlr via dovecot <dovecot@dovecot.org> wrote:
Afer a reboot (and installation of postfix-3.4.5) I am getting the stat-writer permission denied error again.

from doveconf -n

service stats {
 unix_listener stats-reader {
   user = dovecot
 }
 unix_listener stats-writer {
   user = dovecot
 }
}

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

Apr 20 04:45:00 mail postfix/pipe[80136]: 44mTxm3Mblzc3Td: to=<munged>, relay=dovecot, delay=0.06, delays=0.02/0.02/0/0.02, dsn=2.0.0, status=sent (delivered via dovecot service (lda(,munged,)Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permiss))


--
W is for WINNIE embedded in ice
X is for XERXES devoured by mice




--
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