[Dovecot] get userlogin for shell script
10 Apr
2007
10 Apr
'07
8:41 p.m.
Hello,
how can I get some information if a user is connect to the dovecot imap? I like to build a script what asked if there is a connect. If yes the loop until no connect an then stop dovecot.
How can I do this?
Thanks
Dirk
10 Apr
10 Apr
8:49 p.m.
On 10.4.2007, at 20.41, Dirk Schleicher wrote:
See if there exists any "imap" processes. But I think this is a bad
idea. IMAP clients in general tend to be connected as long as the
client is opened. I've had an IMAP connection be open for weeks.
Dovecot has shutdown_clients setting. If you set it to "no" and you
kill dovecot, the imap processes keep on running. Would this work for
you instead?
6600
Age (days ago)
6600
Last active (days ago)
1 comments
2 participants
participants (2)
-
Dirk Schleicher
-
Timo Sirainen