List users currently connected to Dovecot
Build a paste-ready command, then review its compatibility and effects before running it.
read-onlyrequires privileges Compatibility
Dovecot CERequires access to the Dovecot anvil socket; administrators commonly run doveadm as root.
Operational knowledgereview due 2027-01-19
Requirementsdoveadmdoveadm must be installed and available on PATH.Elevated accessReview the exact scope before using an elevated account.
Version supportdoveadm Current supported releasesVerified for linux using posix, bash, zsh syntax; consult compatibility notes for platform-specific differences.
Expected signalsusername # proto (pids) (ips)Representative successful output; values vary with the selected target and system state.
Known errorsdoveadm: command not founddoveadm is missing or is not available on PATH.Permission deniedThe current identity does not have the required access.
Verifydoveadm whoThe output matches the expected target and exits without an error.Rollback noteNo universal automatic rollback is available. Capture the current state and use the tool-specific recovery procedure before applying changes.
Command breakdown
01doveadmCommandRuns the doveadm stage of this one-liner.
02whoArgumentPasses who to doveadm.
Example output
username # proto (pids) (ips)
alice@example.com 2 imap (30155 30412) (203.0.113.42)
bob@example.net 1 pop3 (30501) (198.51.100.17)
Illustrative output — exact values vary by system and data.
Official sources
Related commands