1DOVEADM-WHO(1)                      Dovecot                     DOVEADM-WHO(1)
2
3
4

NAME

6       doveadm-who - Show who is logged in to the Dovecot server
7

SYNOPSIS

9       doveadm  [-Dv]  [-f  formatter]  who [-1] [-a anvil_socket_path] [user]
10       [ip[/mask]]
11

DESCRIPTION

13       The who command is used to show which users from which hosts  are  cur‐
14       rently connected to which service.
15

OPTIONS

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       -v     Enables verbosity, including progress counter.
36
37       This command uses by default the output formatter table.
38
39       Command specific options:
40
41       -1     Print one line per user and connection.  Otherwise  the  connec‐
42              tions are grouped by the username.
43
44       -a anvil_socket_path
45              This  option  is  used  to  specify  an alternative socket.  The
46              option's argument is either an absolute path  to  a  local  UNIX
47              domain  socket, or a hostname and port (hostname:port), in order
48              to connect a remote host via a TCP socket.
49
50              By  default  doveadm(1)  will  use  the  socket   /var/run/dove‐
51              cot/anvil.  The socket may be located in another directory, when
52              the  default  base_dir  setting  was  overridden  in  /etc/dove‐
53              cot/dovecot.conf.
54

ARGUMENTS

56       ip[/mask]
57              Specify  an  ip  address  or network range, in CIDR notation, to
58              reduce the result to matching connections.
59
60       user   List only users, whose name match user.  It's also  possible  to
61              use wildcards in the user name.
62

EXAMPLE

64       Show authenticated sessions, filtered by the client's IP address.
65
66       doveadm who ::1
67       username                       # proto (pids)        (ips)
68       jane                           2 imap  (30155 30412) (::1)
69       doveadm who 192.0.2.0/24
70       username                        # proto (pids)  (ips)
71       john@example.com                1 imap  (30257) (192.0.2.34)
72
73       Show authenticated sessions, filtered by username.
74
75       doveadm who pvo
76       username         # proto (pids)                    (ips)
77       pvo              1 sieve (30343)                   (fd95:4eed:38ba::25)
78       pvo              4 imap  (25693 25686 25679 25669) (fd95:4eed:38ba::25)
79       doveadm who ja*
80       username                    # proto (pids)        (ips)
81       james                       1 imap  (30091)       (127.0.0.1)
82       jane                        2 imap  (30155 30412) (::1)
83

REPORTING BUGS

85       Report  bugs, including doveconf -n output, to the Dovecot Mailing List
86       <dovecot@dovecot.org>.  Information about reporting bugs  is  available
87       at: http://dovecot.org/bugreport.html
88

SEE ALSO

90       doveadm(1), doveadm-kick(1)
91
92
93
94Dovecot v2.0                      2010-07-12                    DOVEADM-WHO(1)
Impressum