The following issue has been SUBMITTED.
======================================================================
http://dbmail.org/mantis/view.php?id=293
======================================================================
Reported By: weave
Assigned To:
======================================================================
Project: DBMail
Issue ID: 293
Category: IMAP daemon
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 10-Jan-06 15:01 CET
Last Modified: 10-Jan-06 15:01 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
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
10-Jan-06 15:01 weave New Issue
======================================================================