Re: [Courier-imap] =?UTF-8?B?Im1heA==?= atom size too =?UTF-8?B?c21hbGwi?= during UID FETCH
Brought to you by:
mrsam
From: Sam V. <mr...@co...> - 2005-05-26 19:21:25
|
Laurentiu C. Badea (L.C.) writes: > > My client issues an UID FETCH followed by a list of messages. If the list is > too long (not as in number of messages, but in size of the UID list string), > imapd will die with > > * BYE [ALERT] Fatal error: max atom size too small: Bad file descriptor > > I ran an strace and noticed that this invariably happens when the size of > allocated heap exceeds 16K during reading of the UID list. > > My question is, is this a limitation of IMAP4 or courier-imap ? Either way, There is no explicit limit defined in IMAP4. Servers are free to set any reasonable limit, and IMAP clients should not issue unreasonably long commands. > I'd appreciate any pointers how to get around this. Fix the IMAP client. IMAP clients should not spew forth long chunks of goo, like that. |