Apple Mail.app not playing nicely with Cyrus on large mailboxes

Sebastian Hagedorn Hagedorn at uni-koeln.de
Thu Jan 20 10:16:30 EST 2005


Hi,

--On 19. Januar 2005 14:56:42 Uhr -0600 Gregory Harris 
<gharris at math.ku.edu> wrote:

> Last Sunday I migrated all of my users mailboxes from a traditional BSD
> unix mail setup to Cyrus-IMAP.

which version?

>  The majority of my users use the Apple
> Mail.app client.  I am having problems with a couple of them (one in
> particular that has a huge INBOX, some with attachments).  When she opens
> her e-mail, the client fails to retreive her mail, and drops the
> connection.  The logs say something similar to:
>
> Jan 18 15:31:32 bayes imap[31658]: accepted connection
> Jan 18 15:31:33 bayes imap[31539]: accepted connection
> Jan 18 15:31:33 bayes imap[31539]: login: bozenna.math.ku.edu
> [129.237.130.170] bozenna GSSAPI User logged in
> Jan 18 15:31:33 bayes imap[31539]: open: user bozenna opened INBOX
> Jan 18 15:31:33 bayes imap[31539]: open: user bozenna opened INBOX
> Jan 18 15:31:33 bayes imap[31658]: accepted connection
> Jan 18 15:31:33 bayes imap[31658]: login: bozenna.math.ku.edu
> [129.237.130.170] bozenna GSSAPI User logged in
> Jan 18 15:31:33 bayes master[4894]: process 31539 exited, signaled to
> death by 6
> Jan 18 15:31:33 bayes master[4894]: service imap pid 31539 in BUSY state:
> terminated abnormally
>
> I increased the prefork value from 5 to 50 (in slow increments) and it
> appears to be able to download more headers but still drops the
> connection.

That must be coincidence, IMO. Preforking has nothing to do with that.

> I have had a similar problem with one user that uses Ximian Evolution
> 1.4.6.  Same error message on the server side, on the client side, says
> something to the effect of "connection unexpectedly dropped".  I know
> this is probably related to bad IMAP programming on the client side,

I'm not so sure. It's not as though Cyrus has no bugs ...

> I would greatly appreciate any help you could provide on this matter.

Try logging telemetry data to find out which commands are causing the 
server to drop the connection. You need to create a directory with the 
user's username in (e.g.) /var/lib/imap/log. After that you will find one 
file for each PID, containing the entire exchange between client and 
server. Report back to the list with the results.

Cheers, Sebastian
--
Sebastian Hagedorn M.A. - RZKR-R1 (Gebäude 52), Zimmer 18
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20050120/d0f1cfb2/attachment.bin


More information about the Info-cyrus mailing list