A NOTE has been added to this issue. ====================================================================== http://www.dbmail.org/mantis/view.php?id=876 ====================================================================== Reported By: jkt Assigned To: ====================================================================== Project: DBMail Issue ID: 876 Category: IMAP daemon Reproducibility: always Severity: minor Priority: normal Status: new target: ====================================================================== Date Submitted: 26-Jan-11 13:01 CET Last Modified: 26-Jan-11 15:28 CET ====================================================================== Summary: Empty lines when faced with underlying DB problem and other IMAP issues Description: I'm using an sqlite-based backend. If the underlying file is read-only an a session attempts to STORE flags for a message, the IMAP daemon responds with an untagged BYE response. However, there are following problems:
a) The BYE response is preceded with an empty line; this is in violation of the RFC3501 b) There's no need to send * BYE, as the session in fact works, it's just read-only. It would be great not to respond with [READ-WRITE] response code to the mailbox, and simply behave as if the client issued an EXAMINE. c) The server currently sends a * BYE, but does not terminate the connection. In fact, it sends a tagged OK to the UID STORE command (which is, again wrong -- the flags were not saved, and therefore it shouldn't respond with an OK). The session remains active and accepts other commands, too. ====================================================================== ---------------------------------------------------------------------- (0003149) paul (administrator) - 26-Jan-11 15:28 http://www.dbmail.org/mantis/view.php?id=876#c3149 ---------------------------------------------------------------------- Using a read-only database is uncharted territory. Issue History Date Modified Username Field Change ====================================================================== 26-Jan-11 13:01 jkt New Issue 26-Jan-11 13:03 jkt Issue Monitored: jkt 26-Jan-11 15:28 paul Note Added: 0003149 ====================================================================== _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev