Skip to content

Commit

Permalink
WIP: doveadm: Add responses to commands
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Jan 3, 2025
1 parent 0ec2bb7 commit 5d862c8
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions data/doveadm.js
Original file line number Diff line number Diff line change
Expand Up @@ -2273,6 +2273,37 @@ returned.`,
text: `UID mask.`,
},
},
response: {
example: [
{
username: "foo",
connections: "1",
service: "imap",
pid: "(47)",
ip: "(10.0.2.100)"
}
],
text: `
Returns an array of objects.
If \`separate-connections\` is \`false\`, each object represents a single
username/service combination, and the \`pid\` and \`ip\` fields will include
all entries for that combination.
If \`separate-connections\` is \`true\`, each object will contain a single
connection.
Object fields:
| Key | Description |
| --- | ----------- |
| \`connections\` | The total number of connections for the user. This is only returned if \`separate-connections\` is \`false\`. |
| \`ip\` | IP addresses where the user's connections are originating. |
| \`pid\` | Process IDs of the session. |
| \`service\` | The Dovecot service. |
| \`username\` | Username |
`
},
man: 'doveadm-who',
text: `Show who is logged into the Dovecot server.`,
},
Expand Down

0 comments on commit 5d862c8

Please sign in to comment.