The following bug has been CLOSED ====================================================================== http://www.dbmail.org/mantis/bug_view_advanced_page.php?bug_id=0000083 ====================================================================== Reported By: purcell Assigned To: ilja ====================================================================== Project: DBMail Bug ID: 83 Category: IMAP daemon Reproducibility: always Severity: major Priority: normal Status: closed ====================================================================== Date Submitted: 05-Sep-04 18:45 CEST Last Modified: 13-Oct-04 10:43 CEST ====================================================================== Summary: % wildcard handling incorrect; violates RFC Description: The % wildcard incorrectly lists folders at *all* hierarchy levels, contrary to RFC 2060: "The character "%" is similar to "*", but it does not match a hierarchy delimiter. If the "%" wildcard is the last character of a mailbox name argument, matching levels of hierarchy are also returned."
The problem was discovered in conjunction with KMail, which uses 'LIST "" "%"' to obtain a list of top-level IMAP folders. I initially reported the problem as a KMail bug; details are visible here: http://bugs.kde.org/show_bug.cgi?id=88690 ====================================================================== ---------------------------------------------------------------------- ilja - 06-Sep-04 14:40 CEST ---------------------------------------------------------------------- After reading the RFC, the bug comments in the bug report on bugs.kde.org and doing some checking with other IMAP servers, I see that you're completely right. I'll have a check if 1.2.x also suffers from this bug. The patch looks very simple, I'll have a check if that's really all we need. ---------------------------------------------------------------------- ilja - 06-Sep-04 14:58 CEST ---------------------------------------------------------------------- fixed in dbmail_2_0_branch. ---------------------------------------------------------------------- ilja - 06-Sep-04 15:24 CEST ---------------------------------------------------------------------- also fixed in HEAD. 1.2.x did not have the bug. I probably broke this quite a while ago. ---------------------------------------------------------------------- ilja - 06-Sep-04 15:25 CEST ---------------------------------------------------------------------- fixed in HEAD and dbmail_2_0_branch using patch by purcell. no fix was needed for 1.2.x Bug History Date Modified Username Field Change ====================================================================== 05-Sep-04 18:45purcell New Bug 05-Sep-04 18:45purcell File Added: dbmail-list-wildcard.patch 06-Sep-04 14:40ilja Bugnote Added: 0000217 06-Sep-04 14:40ilja ETA none => < 1 day 06-Sep-04 14:40ilja Assigned To => ilja 06-Sep-04 14:40ilja Projection none => minor fix 06-Sep-04 14:40ilja Status new => confirmed 06-Sep-04 14:58ilja Status confirmed => assigned 06-Sep-04 14:58ilja Bugnote Added: 0000220 06-Sep-04 15:24ilja Bugnote Added: 0000221 06-Sep-04 15:25ilja Bugnote Added: 0000222 06-Sep-04 15:25ilja Resolution open => fixed 06-Sep-04 15:25ilja Status assigned => resolved 13-Oct-04 10:43ilja Status resolved => closed ======================================================================