Re: Excisting idle connections and changing password
On Wed, 22 Feb 2017, Paul van der Vlis wrote: I would change the password and just kill the process the user is hanging on. But I don't see the username in "ps aux", how do I know which user hangs on which process? With regards, Paul See the /var/imap/proc section in doc/install-perf.html under your 2.4.17 source, if you have it. With default settings, you should be able to cat one of the files in /var/imap/proc, find which user it is in there, and the filename the user appears in is the pid of the process. Jason Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: Excisting idle connections and changing password
Op 22-02-17 om 22:48 schreef Bron Gondwana: > Newer Cyrus can kill all connections for a single user with one command, > cyr_deny. It adds an entry to the deny database and kills current > connections. Hmm, I am still using version 2.4.17 and that does not have it. But maybe something for the future! With regards, Paul. -- Paul van der Vlis Linux systeembeheer Groningen https://www.vandervlis.nl/ Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: Excisting idle connections and changing password
Op 22-02-17 om 14:04 schreef Marcus Schopen: > I would change the password and just kill the process the user is > hanging on. But I don't see the username in "ps aux", how do I know which user hangs on which process? With regards, Paul -- Paul van der Vlis Linux systeembeheer Groningen https://www.vandervlis.nl/ Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: Excisting idle connections and changing password
Newer Cyrus can kill all connections for a single user with one command, cyr_deny. It adds an entry to the deny database and kills current connections. Bron. On Wed, 22 Feb 2017, at 05:04, Marcus Schopen wrote: > Hi, > > Am Mittwoch, den 22.02.2017, 12:45 +0100 schrieb Paul van der Vlis: > > Hello, > > > > When I change the password of a user what's logged in using an IMAP > > idle-connection, how long will the connection "stay"? > > > > My goal is that the user cannot access the mailbox anymore and does not > > get "new mail". > > > > What I did now is restarting Cyrus and I think all excisting idle > > connections will be lost and all users have to login again. > > > > So my question is "for the next time". > > I would change the password and just kill the process the user is > hanging on. > > Ciao! > > > > Cyrus Home Page: http://www.cyrusimap.org/ > List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ > To Unsubscribe: > https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus -- Bron Gondwana br...@fastmail.fm Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: Excisting idle connections and changing password
Hi, Am Mittwoch, den 22.02.2017, 12:45 +0100 schrieb Paul van der Vlis: > Hello, > > When I change the password of a user what's logged in using an IMAP > idle-connection, how long will the connection "stay"? > > My goal is that the user cannot access the mailbox anymore and does not > get "new mail". > > What I did now is restarting Cyrus and I think all excisting idle > connections will be lost and all users have to login again. > > So my question is "for the next time". I would change the password and just kill the process the user is hanging on. Ciao! Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Excisting idle connections and changing password
Hello, When I change the password of a user what's logged in using an IMAP idle-connection, how long will the connection "stay"? My goal is that the user cannot access the mailbox anymore and does not get "new mail". What I did now is restarting Cyrus and I think all excisting idle connections will be lost and all users have to login again. So my question is "for the next time". With regards, Paul van der Vlis -- Paul van der Vlis Linux systeembeheer Groningen https://www.vandervlis.nl/ Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus