No stats under FreeBSD 10.3

Ruud Boon ruud at t-boonproductions.nl
Wed Nov 2 19:27:56 UTC 2016


Thnx Larry,

Thats was it!

Ruud

> On 2 Nov 2016, at 18:52, Larry Rosenman <larryrtx at gmail.com> wrote:
> 
> I added the following to 90-plugin.conf:
> ....
> service stats {
>   chroot = empty
>   client_limit = 0
>   drop_priv_before_exec = no
>   executable = stats
>   extra_groups =
>   fifo_listener stats-mail {
>     group =
>     mode = 0666
>     user =
>   }
>   fifo_listener stats-user {
>     group =
>     mode = 0666
>     user =
>   }
> ....
> 
> and now:
> srw-rw-rw-  1 root     wheel      0 Nov  2 12:47 stats
> prw-rw-rw-  1 root     wheel      0 Nov  2 12:47 stats-mail
> prw-rw-rw-  1 root     wheel      0 Nov  2 12:47 stats-user
> 
> and I get stats. 
> 
> 
> On Wed, Nov 2, 2016 at 12:18 PM, Larry Rosenman <larryrtx at gmail.com <mailto:larryrtx at gmail.com>> wrote:
> prw-rw-rw-  1 root     wheel      0 Nov  1 13:09 stats-mail
> prw-------  1 root     wheel      0 Nov  1 13:09 stats-user
> drwxr-x---  2 root     dovenull   4 Nov  1 13:09 token-login
> 
> If something other than root is trying to write to stats-user, we found the issue. 
> 
> this is on 10.3-STABLE 
> 
> On Wed, Nov 2, 2016 at 12:13 PM, Timo Sirainen <tss at iki.fi <mailto:tss at iki.fi>> wrote:
> On 01 Nov 2016, at 22:31, Ruud Boon <ruud at t-boonproductions.nl <mailto:ruud at t-boonproductions.nl>> wrote:
> >
> > HI,
> >
> > I’m currently testing the stats module of Dovecot (2.2.26.0 (23d1de6))
> > Looks like there no statistics under FreeBSD.
> > Server isn’t busy yet but got at least a few connection open.
> 
> See if there are any errors in logs. I guess mail-stats fifo doesn't have enough permissions so that imap/pop3/lmtp can connect to it.
> 
> 
> 
> -- 
> Larry Rosenman                     http://www.lerctr.org/~ler <http://www.lerctr.org/~ler>
> Phone: +1 214-642-9640 <tel:%2B1%20214-642-9640> (c)     E-Mail: larryrtx at gmail.com <mailto:larryrtx at gmail.com>
> US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281
> 
> 
> 
> -- 
> Larry Rosenman                     http://www.lerctr.org/~ler <http://www.lerctr.org/~ler>
> Phone: +1 214-642-9640 (c)     E-Mail: larryrtx at gmail.com <mailto:larryrtx at gmail.com>
> US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281



More information about the dovecot mailing list