The following issue has been RESOLVED.
======================================================================
http://www.dbmail.org/mantis/view.php?id=293
======================================================================
Reported By: weave
Assigned To: paul
======================================================================
Project: DBMail
Issue ID: 293
Category: IMAP daemon
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 10-Jan-06 15:01 CET
Last Modified: 25-Jan-06 20:11 CET
======================================================================
Summary: IMAP daemon does not process the LIST command
correctly
Description:
RFC 3501 section 6.3.8 it states:
An empty ("" string) reference name argument indicates that the
mailbox name is interpreted as by SELECT. The returned mailbox
names MUST match the supplied mailbox name pattern. A non-empty
reference name argument is the name of a mailbox or a level of
mailbox hierarchy, and indicates the context in which the mailbox
name is interpreted.
However the logging output of the DBMail IMAP daemon shows it improperly
handling the LIST command by adding a '.*' to regular expression for
mailbox evaluation when the reference string is empty.
dbmail/imap4d[27182]: IMAPClientHandler(): line read for PID 27182
dbmail/imap4d[27182]: COMMAND: [a0072 LIST "" "Lists"]
dbmail/imap4d[27182]: arg[0]: ''
dbmail/imap4d[27182]: arg[1]: 'Lists'
dbmail/imap4d[27182]: IMAPClientHandler(): Executing command list...
dbmail/imap4d[27182]: ic_list(): build the pattern: [^Lists.*$]
dbmail/imap4d[27182]: db.c,db_list_mailboxes_by_regex: in func
======================================================================
----------------------------------------------------------------------
paul - 25-Jan-06 20:10
----------------------------------------------------------------------
I've validated the patch, and it looks ok to me. I'll commit this asap.
This fix will end up in 2.0.9.
This bug does not apply to svn-trunk.
Issue History
Date Modified Username Field Change
======================================================================
10-Jan-06 15:01 weave New Issue
25-Jan-06 20:10 paul Note Added: 0000979
25-Jan-06 20:10 paul Assigned To => paul
25-Jan-06 20:10 paul Status new => acknowledged
25-Jan-06 20:10 paul Resolution open => fixed
25-Jan-06 20:11 paul Status acknowledged => resolved
======================================================================