A BUGNOTE has been added to this bug. ====================================================================== http://www.dbmail.org/mantis/bug_view_advanced_page.php?bug_id=0000100 ====================================================================== Reported By: tsoutherwood Assigned To: ====================================================================== Project: DBMail Bug ID: 100 Category: IMAP daemon Reproducibility: always Severity: feature Priority: normal Status: new ====================================================================== Date Submitted: 08-Oct-04 17:34 CEST Last Modified: 11-Oct-04 10:10 CEST ====================================================================== Summary: UID SEARCH UID fails silently - breaks Sylpheed 0.99 Claws Description: Sylpheed-claws 0.99 does not grok dbmail via IMAP4. Mozilla works fine.
This seems to be due to the differing ways that each client asks for a list of all message uids in a particular inbox. Sylpheed sees all the mailboxes, but (usually) fails to see the presence of any messages. Sylpheed uses a SELECT INBOX UID SEARCH UID 1:* to look for messages. This works OK with WU-imap and Dovecot. The steps to reproduce are taken directly from the Sylpheed protocol log file after freshly connecting to a test dbmail server with 1 message in the INBOX. ====================================================================== ---------------------------------------------------------------------- tsoutherwood - 08-Oct-04 17:38 CEST ---------------------------------------------------------------------- Whoops, sorry - typed too fast - This bug isn't a feature request - it's somewhere bewteen minor and major. Please reassign. ---------------------------------------------------------------------- paul - 10-Oct-04 23:16 CEST ---------------------------------------------------------------------- I've located the bug. It's in build_set_uid (imaputils.c). I havent analysed that call yet. When I use build_set instead in perform_imap_search the command returns correctly. I'm not at all confident however, that simply replacing build_set_uid will return a valid result per se. Ilja, does dbmail actually differentiate between messages sequence numbers and unique identifiers? ---------------------------------------------------------------------- ilja - 11-Oct-04 10:10 CEST ---------------------------------------------------------------------- DBMail does differentiate between message sequence numbers and unique identifiers, yes. example: a uid search 1:* * SEARCH 2 4 6 7 9 11 13 475 a OK SEARCH completed on the same mailbox: a search 1:* * SEARCH 1 2 3 4 5 6 7 8 a OK SEARCH completed the UIDs in the first command match with the message_idnr in the messages table. Bug History Date Modified Username Field Change ====================================================================== 08-Oct-04 17:34tsoutherwood New Bug 08-Oct-04 17:36tsoutherwood Bug Monitored: tsoutherwood 08-Oct-04 17:38tsoutherwood Bugnote Added: 0000301 10-Oct-04 23:16paul Bugnote Added: 0000304 11-Oct-04 10:10ilja Bugnote Added: 0000305 ======================================================================