[Dovecot] IMAP error after login
Hello,
I'm having a slight problem with Dovecot (0.99.10-0.rc2, on Debian woody). When using mozilla 1.4, there is an error message from the mailer just after login, but nothing in dovecot logs. "Alert The current command did not succeed. The mail server responded: Error in IMAP command UID: Too long argument.."
How could I fix this problem ?
Thanks,
Nico J'ai une panne de micro et les parasites me brouillent l'écoute
On Thursday, Aug 14, 2003, at 10:31 Europe/Helsinki, Nicolas STRANSKY wrote:
I'm having a slight problem with Dovecot (0.99.10-0.rc2, on Debian woody). When using mozilla 1.4, there is an error message from the mailer just after login, but nothing in dovecot logs. "Alert The current command did not succeed. The mail server responded: Error in IMAP command UID: Too long argument.."
How could I fix this problem ?
You have a large mailbox and Mozilla tries to send a huge command to Dovecot. Next release has max. command line length configurable from config file, but for now you'd have to modify sources or try to avoid so many changes at once.
If you want to change it from sources, it's in beginning of
src/imap/client.c MAX_INBUF_SIZE.
On Thu, 14 Aug 2003, Timo Sirainen wrote:
On Thursday, Aug 14, 2003, at 10:31 Europe/Helsinki, Nicolas STRANSKY wrote:
I'm having a slight problem with Dovecot (0.99.10-0.rc2, on Debian woody). When using mozilla 1.4, there is an error message from the mailer just after login, but nothing in dovecot logs. "Alert The current command did not succeed. The mail server responded: Error in IMAP command UID: Too long argument.."
How could I fix this problem ?
You have a large mailbox and Mozilla tries to send a huge command to Dovecot. [...]
If this is Mozilla's problem for not cutting up the command into smaller pieces - I believe the rfc limits the length of an IMAP command? - maybe a bugreport could be filed in the project's bugzilla. In the long run, that might be better than enlarging the buffer to a certain maximum amount of messages, which could prove to be a game without end.
How about other imap clients? Do they split up long commands?
On Wed, 2003-08-27 at 20:22, Wouter Van Hemel wrote:
If this is Mozilla's problem for not cutting up the command into smaller pieces - I believe the rfc limits the length of an IMAP command?
Not the IMAP4 RFC, but "IMAP4 Implementation recommandations".
- maybe a bugreport could be filed in the project's bugzilla. In the long run, that might be better than enlarging the buffer to a certain maximum amount of messages, which could prove to be a game without end.
Yeah. I've just been lazy :)
http://bugzilla.mozilla.org/show_bug.cgi?id=217518
How about other imap clients? Do they split up long commands?
I haven't noticed problems with other clients. That doesn't say that they wouldn't of course.. I would guess it's mostly because of Mozilla's bad messageset generation. If it sends 1,2,3,4 rather than 1:4 it gets large easily.
participants (3)
-
Nicolas STRANSKY
-
Timo Sirainen
-
Wouter Van Hemel