On 10.4.2007, at 20.41, Dirk Schleicher wrote:

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.

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?

Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to