[RCD] IMAP APPEND fails on Quota Exceeded

Robin Elfrink robin at 15augustus.nl
Wed Aug 26 16:12:06 CEST 2009


Hi,


(bug dropped in my mailbox)


After sending an e-mail RoundCube attempts to append the e-mail to the 
Sent folder.

RoundCube (actually, the Iloha library) does not handle the response to 
the APPEND command correctly, resulting in a properly sent e-mail, and a 
client timing out.

Example conversation:


 > a APPEND "Drafts" (\Seen)  {555145}
< a NO [OVERQUOTA] Quota exceeded (mailbox for user is full)


RoundCube reads the response line but doesn't parse it.

Attached patch at least fixes the not-parsing-and-client-hanging part, 
logging the actual response line to the error log. But a proper error 
message to the user would be better.

Does anybody have any idea if IMAP errors are standardized, and if so, 
how would I get the message from program/lib/imap.inc back to 
program/steps/mail/sendmail.inc, to show the user a proper message?


Robin



 --- 8< --- detachments --- 8< ---
 The following attachments have been detached and are available for viewing.
  http://detached.gigo.com/rc/7d/tCH2Il93/imap-append-error-ha.diff
 Only click these links if you trust the sender, as well as this message.
 --- 8< --- detachments --- 8< ---

-------------- next part --------------
_______________________________________________
List info: http://lists.roundcube.net/dev/


More information about the Dev mailing list