Skip to content

Commit c827bd1

Browse files
slusarzcmouse
authored andcommitted
WIP: doveadm: Add responses to commands
1 parent ce02ca1 commit c827bd1

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

data/doveadm.js

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2273,6 +2273,37 @@ returned.`,
22732273
text: `UID -or- IP Address mask.`,
22742274
},
22752275
},
2276+
response: {
2277+
example: [
2278+
{
2279+
username: "foo",
2280+
connections: "1",
2281+
service: "imap",
2282+
pid: "(47)",
2283+
ip: "(10.0.2.100)"
2284+
}
2285+
],
2286+
text: `
2287+
Returns an array of objects.
2288+
2289+
If \`separate-connections\` is \`false\`, each object represents a single
2290+
username/service combination, and the \`pid\` and \`ip\` fields will include
2291+
all entries for that combination.
2292+
2293+
If \`separate-connections\` is \`true\`, each object will contain a single
2294+
connection.
2295+
2296+
Object fields:
2297+
2298+
| Key | Description |
2299+
| --- | ----------- |
2300+
| \`connections\` | The total number of connections for the user. This is only returned if \`separate-connections\` is \`false\`. |
2301+
| \`ip\` | IP addresses where the user's connections are originating. |
2302+
| \`pid\` | Process IDs of the session. |
2303+
| \`service\` | The Dovecot service. |
2304+
| \`username\` | Username |
2305+
`
2306+
},
22762307
man: 'doveadm-who',
22772308
text: `Show who is logged into the Dovecot server.`,
22782309
},

0 commit comments

Comments
 (0)