The following bug has been ASSIGNED. ====================================================================== 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: confirmed ====================================================================== Date Submitted: 05-Sep-04 18:45 CEST Last Modified: 06-Sep-04 14:40 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. 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 ======================================================================