DOVEADM-WHO(1)
π DOVEADM-WHO(1) β the doveadm-who page, bestie edition π
Dovecot manual Β· the "who's online rn" command β¨
πΈ NAME πΈ
doveadm-who β show who is logged into the Dovecot server π
π¦ SYNOPSIS π¦
doveadm [GLOBAL OPTIONS] who [-1] [-f passdb_field] [-a
anvil_socket_path] [user_mask] [ip [/ bits]]
β¨ DESCRIPTION β¨
okay so the who command is literally the vibe check for your server: it shows which users, from which hosts, are currently connected to which service. that's it. that's the whole thing. iconic.
π GLOBAL OPTIONS π
Global doveadm(1) options:
-Dβ turns on verbosity AND debug messages. it's giving "tell me everything" π-Oβ do not read ANY config file, just use defaults. thedovecot_storage_versionsetting defaults to the latest version, but you can override it with-o. no cap.-kβ preserve the entire environment fordoveadm, not just theimport_environmentsetting. keep the whole vibe, not a snippet π«Ά-vβ enables verbosity, including a progress counter. numbers go brrr β-iinstance-name β if you're running multiple Dovecot instances, pick the config file based on this instance name. see theinstance_namesetting for more info π-cconfig-file β read config from the given config-file. by default it first reads the config socket, and then falls back to/etc/dovecot/dovecot.conf. you can also point this at the config socket of some instance running a compatible version π-osetting=value β overrides the config setting from/etc/dovecot/dovecot.confand from the userdb with the given value. to override multiple settings, you can specify-omultiple times. stack 'em π-fformatter β picks the formatter for formatting the output. supported formatters are:flowβ prints each line withkey=valuepairs.jsonβ prints a JSON array of JSON objects.pagerβ prints eachkey: valuepair on its own line and separates records with form feed character (^L).tabβ prints a table header followed by tab separated value lines.tableβ prints a table header followed by adjusted value lines.
this command uses by default the output formatter table. periodt.
π OPTIONS π
-1β print one line per user and connection. otherwise the connections are grouped by the username. (yes, grouping is the default;-1is the un-group girlie π)-aanvil_socket_path β this option specifies an alternative socket. the option's argument is either an absolute path to a local UNIX domain socket, or a hostname and port (hostname:port), in order to connect a remote host via a TCP socket. by defaultdoveadm(1)will use the socket/rundir/anvil. the socket may be located in another directory when the defaultbase_dirsetting was overridden in/etc/dovecot/dovecot.conf.-fpassdb_field β alternative username field to use for querying, as returned by passdb. only the passdb fields beginning with theuser_prefix are tracked. prefix-only, bestie, that's the rule π₯
π ARGUMENTS π
ip [/ bits]β specify an ip address or network range, in CIDR notation, to reduce the result to matching connections.user_maskβ list only users whose login name matches the user_mask, or the alternative username (user_*field) if the-fparameter is used. it's also possible to use wildcards in the user name. wildcard girlies rise π
π EXAMPLE π
Show authenticated sessions, filtered by the client's IP address:
doveadm who ::1
username # proto (pids) (ips)
jane 2 imap (30155 30412) (::1)
$ doveadm who 192.0.2.0/24
username # proto (pids) (ips)
john@example.com 1 imap (30257) (192.0.2.34)
Show authenticated sessions, filtered by username:
doveadm who pvo
username # proto (pids) (ips)
pvo 1 sieve (30343) (fd95:4eed:38ba::25)
pvo 4 imap (25693 25686 25679 25669) (fd95:4eed:38ba::25)
$ doveadm who ja\*
username # proto (pids) (ips)
james 1 imap (30091) (127.0.0.1)
jane 2 imap (30155 30412) (::1)
π REPORTING BUGS π
found a bug? report it β including doveconf -n output β to the Dovecot Mailing List β¨dovecot@dovecot.orgβ©. info about reporting bugs lives at: β¨https://dovecot.org/bugreport.htmlβ©
ngl bestie, always include that doveconf -n output, they WILL ask for it π«Ά
π₯ SEE ALSO π₯
that's the whole page, you ate it π this was f979264, April 2026, Dovecot, and I'm obsessed with you for reading the whole thing πβ¨
π¦ where this page comes from
- alpine 3.23: dovecot-doc 2.4.5-r0 Β· MIT AND LGPL-2.1-or-later
- alpine 3.24: dovecot-doc 2.4.5-r0 Β· MIT AND LGPL-2.1-or-later
- arch rolling: dovecot 2.4.5-1 Β· MIT AND LGPL-2.1-only
- fedora 43: dovecot 1:2.4.5-1.fc43 Β· MIT AND LGPL-2.1-only
- fedora 44: dovecot 1:2.4.5-1.fc44 Β· MIT AND LGPL-2.1-only
- nixos 26.05: dovecot 2.4.5
- nixpkgs unstable: dovecot 2.4.5
- opensuse-leap 16.0: dovecot24 2.4.5-160000.1.1 Β· BSD-3-Clause AND LGPL-2.1-or-later AND MIT
- opensuse-leap 16.0: dovecot24 2.4.5-160000.1.1 Β· BSD-3-Clause AND LGPL-2.1-or-later AND MIT
- opensuse-leap 16.0: dovecot24 2.4.5-160000.1.1 Β· BSD-3-Clause AND LGPL-2.1-or-later AND MIT
- opensuse-leap 16.0: dovecot24 2.4.5-160000.1.1 Β· BSD-3-Clause AND LGPL-2.1-or-later AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms