1DOVEADM-WHO(1) Dovecot DOVEADM-WHO(1)
2
3
4
6 doveadm-who - Show who is logged in to the Dovecot server
7
9 doveadm [-Dv] [-f formatter] who [-1] [-a anvil_socket_path] [user]
10 [ip[/mask]]
11
13 The who command is used to show which users from which hosts are cur‐
14 rently connected to which service.
15
17 Global doveadm(1) options:
18
19 -D Enables verbosity and debug messages.
20
21 -f formatter
22 Specifies the formatter for formatting the output. Supported
23 formatters are:
24
25 flow prints each line with key=value pairs.
26
27 pager prints each key: value pair on its own line and separates
28 records with form feed character (^L).
29
30 tab prints a table header followed by tab separated value
31 lines.
32
33 table prints a table header followed by adjusted value lines.
34
35 -o setting=value
36 Overrides the configuration setting from /etc/dovecot/dove‐
37 cot.conf and from the userdb with the given value. In order to
38 override multiple settings, the -o option may be specified mul‐
39 tiple times.
40
41 -v Enables verbosity, including progress counter.
42
43 This command uses by default the output formatter table.
44
45 Command specific options:
46
47 -1 Print one line per user and connection. Otherwise the connec‐
48 tions are grouped by the username.
49
50 -a anvil_socket_path
51 This option is used to specify an alternative socket. The
52 option's argument is either an absolute path to a local UNIX
53 domain socket, or a hostname and port (hostname:port), in order
54 to connect a remote host via a TCP socket.
55
56 By default doveadm(1) will use the socket /run/dovecot/anvil.
57 The socket may be located in another directory, when the default
58 base_dir setting was overridden in /etc/dovecot/dovecot.conf.
59
61 ip[/mask]
62 Specify an ip address or network range, in CIDR notation, to
63 reduce the result to matching connections.
64
65 user List only users, whose name match user. It's also possible to
66 use wildcards in the user name.
67
69 Show authenticated sessions, filtered by the client's IP address.
70
71 doveadm who ::1
72 username # proto (pids) (ips)
73 jane 2 imap (30155 30412) (::1)
74 doveadm who 192.0.2.0/24
75 username # proto (pids) (ips)
76 john@example.com 1 imap (30257) (192.0.2.34)
77
78 Show authenticated sessions, filtered by username.
79
80 doveadm who pvo
81 username # proto (pids) (ips)
82 pvo 1 sieve (30343) (fd95:4eed:38ba::25)
83 pvo 4 imap (25693 25686 25679 25669) (fd95:4eed:38ba::25)
84 doveadm who ja*
85 username # proto (pids) (ips)
86 james 1 imap (30091) (127.0.0.1)
87 jane 2 imap (30155 30412) (::1)
88
90 Report bugs, including doveconf -n output, to the Dovecot Mailing List
91 <dovecot@dovecot.org>. Information about reporting bugs is available
92 at: http://dovecot.org/bugreport.html
93
95 doveadm(1), doveadm-kick(1)
96
97
98
99Dovecot v2.3 2010-07-12 DOVEADM-WHO(1)