Show active Dovecot sessions for one user
Build a paste-ready command, then review its compatibility and effects before running it.
doveadm who <dovecot-user>Complete required fields to copy the generated command.
read-onlyrequires privileges Compatibility
Dovecot user masksThe user argument is a mask; shell quoting keeps literal addresses intact, and Dovecot also supports wildcards.
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 who {{user}}The 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.
03<dovecot-user>ParameterA value supplied in the Fill parameters section.
Example input
doveadm who alice@example.com
Example output
username # proto (pids) (ips)
alice@example.com 2 imap (30155 30412) (203.0.113.42)
Illustrative output — exact values vary by system and data.
Official sources
Related commands