net_connect_unix(/var/run/dovecot/stats-write r) failed: Permission denied

Mike Clarke jmc-freebsd2 at milibyte.co.uk
Mon Mar 18 17:42:31 UTC 2019


I'm getting the following error message in my exim log for every incoming message:

dovecot_delivery transport output: lda(mike,)Error: net_connect_unix(/var/run/dovecot/stats-write

It's not preventing messages getting to me but I wondering how I should deal with it.

FreeBSD curlew 12.0-RELEASE-p3 FreeBSD 12.0-RELEASE-p3 GENERIC  amd64
dovecot-2.3.5 

curlew:/root# ls -l /var/run/dovecot/
total 52
srw-------  1 root     wheel      0 18 Mar 17:26 anvil=
srw-------  1 root     wheel      0 18 Mar 17:26 anvil-auth-penalty=
srw-rw----  1 dovecot  wheel      0 18 Mar 17:26 auth-client=
srw-------  1 dovecot  wheel      0 18 Mar 17:26 auth-login=
srw-------  1 root     wheel      0 18 Mar 17:26 auth-master=
-rw-------  1 root     wheel     32 18 Mar 17:26 auth-token-secret.dat
srw-rw-rw-  1 dovecot  wheel      0 18 Mar 17:26 auth-userdb=
srw-------  1 dovecot  wheel      0 18 Mar 17:26 auth-worker=
srw-------  1 root     wheel      0 18 Mar 17:26 config=
srw-rw----  1 root     dovecot    0 18 Mar 17:26 dict=
srw-rw----  1 root     dovecot    0 18 Mar 17:26 dict-async=
srw-------  1 root     wheel      0 18 Mar 17:26 director-admin=
srw-rw-rw-  1 root     wheel      0 18 Mar 17:26 dns-client=
srw-------  1 root     wheel      0 18 Mar 17:26 doveadm-server=
lrwx------  1 root     wheel     35 18 Mar 17:26 dovecot.conf@ -> /usr/local/etc/dovecot/dovecot.conf
drwxr-xr-x  2 root     wheel      2 18 Mar 17:26 empty/
srw-rw----  1 root     dovecot    0 18 Mar 17:26 imap-hibernate=
srw-------  1 root     wheel      0 18 Mar 17:26 imap-master=
srw-rw-rw-  1 root     wheel      0 18 Mar 17:26 imap-urlauth=
srw-------  1 dovecot  wheel      0 18 Mar 17:26 imap-urlauth-worker=
srw-rw-rw-  1 root     wheel      0 18 Mar 17:26 indexer=
srw-------  1 dovecot  wheel      0 18 Mar 17:26 indexer-worker=
srw-------  1 dovecot  wheel      0 18 Mar 17:26 ipc=
srw-------  1 root     wheel      0 18 Mar 17:26 log-errors=
drwxr-x---  2 root     dovenull   6 18 Mar 17:26 login/
srw-------  1 root     wheel      0 18 Mar 17:26 master=
-rw-------  1 root     wheel      5 18 Mar 17:26 master.pid
srw-------  1 root     wheel      0 18 Mar 17:26 old-stats=
prw-------  1 root     wheel      0 18 Mar 17:26 old-stats-mail|
prw-------  1 root     wheel      0 18 Mar 17:26 old-stats-user|
srw-------  1 root     wheel      0 18 Mar 17:26 replication-notify=
prw-------  1 root     wheel      0 18 Mar 17:26 replication-notify-fifo|
srw-------  1 dovecot  wheel      0 18 Mar 17:26 replicator=
srw-------  1 root     wheel      0 18 Mar 17:26 stats-reader=
srw-rw----  1 root     dovecot    0 18 Mar 17:26 stats-writer=
drwxr-x---  2 root     dovenull   4 18 Mar 17:26 token-login/

curlew:/root# ps -ajx | grep dovecot
root       7166    1 7166 7166    0 Is    -     0:00.01 /usr/local/sbin/dovecot 
dovecot    7167 7166 7166 7166    0 I     -     0:00.00 anvil: [0 connections] (
root       7168 7166 7166 7166    0 I     -     0:00.00 dovecot/log
root       7169 7166 7166 7166    0 I     -     0:00.01 dovecot/config
dovecot    7171 7166 7166 7166    0 I     -     0:00.00 stats: [4 connections] (
root       7229 7005 7228 7005    2 S+    8     0:00.00 grep dovecot

-- 
Mike Clarke


More information about the freebsd-questions mailing list