The following bug has been RESOLVED.
======================================================================
http://www.dbmail.org/mantis/bug_view_advanced_page.php?bug_id=0000100
======================================================================
Reported By:                tsoutherwood
Assigned To:                aaron
======================================================================
Project:                    DBMail
Bug ID:                     100
Category:                   IMAP daemon
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
======================================================================
Date Submitted:             08-Oct-04 17:34 CEST
Last Modified:              16-Nov-04 22:33 CET
======================================================================
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.

----------------------------------------------------------------------
 aaron - 16-Nov-04 22:05 CET 
----------------------------------------------------------------------
Is this the bug that was just fixed by Mikhail's UID patch?

----------------------------------------------------------------------
 aaron - 16-Nov-04 22:33 CET 
----------------------------------------------------------------------
Fixed by Mikhail, committed to CVS by Paul, resolved in the bugtracker by
Aaron. Way to go, teamwork!  ;-)

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                       
13-Oct-04 10:39ilja           Status                   new => acknowledged 
16-Nov-04 22:05aaron          Bugnote Added: 0000359                       
16-Nov-04 22:33aaron          Bugnote Added: 0000360                       
16-Nov-04 22:33aaron          Assigned To               => aaron           
16-Nov-04 22:33aaron          Resolution               open => fixed       
16-Nov-04 22:33aaron          Status                   acknowledged => resolved
======================================================================

Reply via email to