Dovecot director: show user breakdown by director?
Hi,
We have recently started using the director in some tests. We are using the static passdb setup (proxy=y nopassword=y) for now, where authentication is done on the downstream IMAP servers.
"dovecot director status" shows a breakdown of proxied connections per backend, but there does not seem to be a similar breakdown of user connections per director.
The output of "doveadm who" is empty. I assume this is due to there being no local userdb/passdb on the directors?
root@xxx:/etc/dovecot/conf.d# doveadm who username # proto (pids) (ips)
Is there a way in Dovecot to see which (or even how many) users are connected to a specific director without having to count TCP connections?
Best regards, Eirik Rye
On 13 Jun 2019, at 20.15, Eirik Rye via dovecot dovecot@dovecot.org wrote: Is there a way in Dovecot to see which (or even how many) users are connected to a specific director without having to count TCP connections?
# ps aux | grep imap-login dovenull 3200 0.0 0.0 44676 3376 ? S Apr16 1:15 dovecot/imap-login dovenull 3208 0.0 0.0 44664 3364 ? S Apr16 2:05 dovecot/imap-login dovenull 3209 0.0 0.0 42616 2296 ? S Apr16 9:00 dovecot/imap-login [1 connections (0 TLS)] dovenull 3210 0.0 0.0 44704 3604 ? S Apr16 3:19 dovecot/imap-login
rinse and repeat with pop3-login or lmtp.
Sami
This is only available if you use "verbose_proctitle = yes".
However, I found the command "doveadm proxy list" which does what I want:
~# doveadm proxy list | wc -l 16993
- Eirik
On 14/06/2019 08:39, Sami Ketola wrote:
On 13 Jun 2019, at 20.15, Eirik Rye via dovecot
mailto:dovecot@dovecot.org> wrote: Is there a way in Dovecot to see which (or even how many) users are connected to a specific director without having to count TCP connections? # ps aux | grep imap-login dovenull 3200 0.0 0.0 44676 3376 ? S Apr16 1:15 dovecot/imap-login dovenull 3208 0.0 0.0 44664 3364 ? S Apr16 2:05 dovecot/imap-login dovenull 3209 0.0 0.0 42616 2296 ? S Apr16 9:00 dovecot/imap-login [1 connections (0 TLS)] dovenull 3210 0.0 0.0 44704 3604 ? S Apr16 3:19 dovecot/imap-login
rinse and repeat with pop3-login or lmtp.
Sami
participants (2)
-
Eirik Rye
-
Sami Ketola