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       -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  /var/run/dove‐
57              cot/anvil.  The socket may be located in another directory, when
58              the  default  base_dir  setting  was  overridden  in  /etc/dove‐
59              cot/dovecot.conf.
60

ARGUMENTS

62       ip[/mask]
63              Specify an ip address or network range,  in  CIDR  notation,  to
64              reduce the result to matching connections.
65
66       user   List  only  users, whose name match user.  It's also possible to
67              use wildcards in the user name.
68

EXAMPLE

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

REPORTING BUGS

91       Report bugs, including doveconf -n output, to the Dovecot Mailing  List
92       <dovecot@dovecot.org>.   Information  about reporting bugs is available
93       at: http://dovecot.org/bugreport.html
94

SEE ALSO

96       doveadm(1), doveadm-kick(1)
97
98
99
100Dovecot v2.3                      2010-07-12                    DOVEADM-WHO(1)
Impressum