A NOTE has been added to this issue. ====================================================================== http://www.dbmail.org/mantis/view.php?id=982 ====================================================================== Reported By: vampyre Assigned To: ====================================================================== Project: DBMail Issue ID: 982 Category: IMAP daemon Reproducibility: always Severity: major Priority: normal Status: new target: ====================================================================== Date Submitted: 29-Aug-12 15:55 CEST Last Modified: 29-Aug-12 16:29 CEST ====================================================================== Summary: FETCH doesn't work on empty folder Description: Hello Paul,
I am trying to do a FETCH on empty mailbox and get the response "BAD invalid sequence" (while the same had been working for dbmail-2.3). I have added some debug and it looks like the issue is in MailboxState_getExist: === if ((! uid ) && (MailboxState_getExists(self->mbstate) == 0)) // empty mailbox return NULL; === Btw, it is better to add some log messages in such places as it is hard to track. ====================================================================== ---------------------------------------------------------------------- (0003473) vampyre (reporter) - 29-Aug-12 16:29 http://www.dbmail.org/mantis/view.php?id=982#c3473 ---------------------------------------------------------------------- Paul, Could you please consider enclosed patch. Thank you in advance. Issue History Date Modified Username Field Change ====================================================================== 29-Aug-12 15:55 vampyre New Issue 29-Aug-12 16:27 vampyre File Added: 0001-TT-0000982-FETCH-fix-for-empty-mailbox.patch 29-Aug-12 16:29 vampyre Note Added: 0003473 ====================================================================== _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev