Hi Tony, "A.J. Rossini" wrote:
"RH" == Ryan Hughes <rh@n-h.net> writes:
RH> I took a look at the imap code. it basically complains that RH> the SELECTed folder is not read writable. As far as I can RH> remember the problem may be that UW IMAP locks your folders RH> when they get selected. Possibly you're accessing that folder RH> with a different client concurrently?
Yes! But I think that the concurrency might be happening from Zope/WorldPilot? I.e. that it is submitting another command prior to the first results? I ran (the patched) imaplib.py by itself (it has a "sample session") which gave "reasonable" results...
This might be possible. I'm checking the IMAP code. Possibly we'll need to use EXAMINE on some spots instead of SELECT. Maybe there's a race situation which would explain why it works for some and for some not.
RH> Let me know if that's the problem, since I have heard about RH> this problem a few times, and I thought it was a locking issue RH> on UW IMAP.
Or, it might be an instance of the way recent UW imap daemons deal with the maildir issue, copying files to the local user account from the mail spool... (see documentation, which I'm not yet sure that I understand; but then again, I'm a research biostatistician, not a sysadmin/www-master...).
I replicated it using UW imap locally on the linux (debian) box.
If heavy copy operations are involved then that would support the race situation. We use debian, too, so we'll try to replicate the behaviour here, too.
Maybe I'll try firing up Cyrus -- does anyone know if it "drops in" in the same way that UW Imap does? (i.e. install and go...). Debian's got it, so maybe I can do that...
Cyrus is better scalable and has cached indexes. furthermore mails are stored in individual files instead of in mailbox files. Cheers, Ryan
best, -tony
-- A.J. Rossini Research Assistant Professor of Biostatistics Biostatistics/Univ. of Washington (Th) Box 357232 206-543-1044 (3286=fax) Center for AIDS Research/HMC/UW (M/F) Box 359931 206-731-3647 (3693=fax) VTN/SCHARP/FHCRC (Tu/W) Box 358080 206-667-7025 (4812=fax) rossini@(biostat.washington.edu|u.washington.edu|hivnet.fhcrc.org) http://www.biostat.washington.edu/~rossini
-- Ryan Hughes <rh@n-h.net> Neuberger & Hughes GmbH http://www.n-h.net ___________________________________________________ WorldPilot Get Synched - http://www.worldpilot.org The Open Source Personal Information Manager Server Powered by Python and Zope - http://www.zope.org