On Sat, Jan 29, 2011 at 09:03:50AM -0500, Adam Tauno Williams wrote: > On Sat, 2011-01-29 at 18:00 +0530, Shuvam Misra wrote: > > Guys, > > One basic question, which is not explicitly covered in the reconstruct > > manpage. Can I run a reconstruct on a user's mailbox when imapd is > > running and there's a risk that the user may connect to his mailbox? > > I need to know this for Cyrus v2.2 as well as later versions. Help, > > please? > > Yes, it works fine. But it does lock the mailbox during reconstruct. > If the mailbox is open reconstruct will 'hang' until the mailbox becomes > available. If reconstruct is running the client will 'hang' until > reconstruction completes. > > I'm not certain what happens to delivery to the mailbox - I've always > *assumed* it is a transient error and delivery gets reattempted by the > MTA. In 2.4 (and I assume earlier but I haven't checked the codepaths...) the lmtp session will freeze until it can get a lock. It would probably be possible to make it a transient error - but I think the best would be a 5 second timeout or something so that most short locks don't cause a delay. Bron. ---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/