Re: Disconnecting users from mailbox (due to a password change, for instance)

Dave McMurtrie <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <CAPMGHB50ZmgtfhY6Vaqda=LeFwhbJPJaUGkWk4cXw626g=i-fA@mail.gmail.com>
Hi,

You probably want to use the user_deny.db for this.  This is the exact
use case for which it was implemented.

https://www.cyrusimap.org/imap/reference/admin/sop/userdeny.html

hth,

Dave

On Mon, Oct 18, 2021 at 3:44 AM Egoitz Aurrekoetxea <[email protected]> wrote:
>
> Good morning,
>
>
> We have a feature that allows a user to kill all it's sessions. Imagine a cellphone gets stolen. The user could disconnect it's sessions from our interface.
>
> It normally works fine. We just launch a kill TERM to the user's imap/pop processes mainly. But I have seen a couple of times, that after doing that, no user can later connect to it's mailbox. It's like, if something  important would become locked... some important database or similar, by that killed processes that obviously as have become killed, won't unlock that hypothetical important database. Have you ever seen a behavior like the commented?.
>
> Perhaps, does Cyrus have another "more elegant" way of logging out a user?.
>
>
> Best regards,
>
> Cyrus / Info / see discussions + participants + delivery options Permalink

------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/Tdfb46db342104c8f-Mc3f7949190d2c0b7279cb642
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.