A NOTE has been added to this issue. ====================================================================== http://www.dbmail.org/mantis/view.php?id=467 ====================================================================== Reported By: lkneschke Assigned To: paul ====================================================================== Project: DBMail Issue ID: 467 Category: IMAP daemon Reproducibility: always Severity: major Priority: normal Status: assigned target: ====================================================================== Date Submitted: 05-Dec-06 14:41 CET Last Modified: 06-Dec-06 08:16 CET ====================================================================== Summary: LIST "Sent" "%" fails only on one folder Description: Listing the information about the Sent folder fails. Other folders don't create this problem.
* OK dbmail imap (protocol version 4r1) server 2.2 ready to run a001 login username password a001 OK LOGIN completed A0006 LIST "Sent" "%" A0006 BAD reference name contains invalid characters That's the output from syslog: Dec 5 08:54:57 ubuntu dbmail/imap4d[18541]: Info:[imap] imap4.c,IMAPClientHandler(+200): COMMAND: [A0006 LIST "Sent" "%"] Dec 5 08:54:57 ubuntu dbmail/imap4d[18541]: Debug:[imapsession] dbmail-imapsession.c,build_args_array_ext(+2132): arg[0]: 'Sent' Dec 5 08:54:57 ubuntu dbmail/imap4d[18541]: Debug:[imapsession] dbmail-imapsession.c,build_args_array_ext(+2132): arg[1]: '%' Dec 5 08:54:57 ubuntu dbmail/imap4d[18541]: Info:[imap] imap4.c,IMAPClientHandler(+313): Executing command list... Dec 5 08:54:57 ubuntu dbmail/imap4d[18541]: Debug:[imapsession] dbmail-imapsession.c,dbmail_imap_session_printf(+1299): RESPONSE: [A0006 BAD reference name contains invalid characters^M ] Dec 5 08:54:57 ubuntu dbmail/imap4d[18541]: Info:[imap] imap4.c,IMAPClientHandler(+341): Finished command list [1] What could be the problem? ====================================================================== ---------------------------------------------------------------------- paul - 05-Dec-06 22:12 ---------------------------------------------------------------------- Lars, The LIST "Sent" "%" is not valid because it will never return anything. The mailbox separator is missing. However, the BAD response is also invalid. A bug indeed. ---------------------------------------------------------------------- lkneschke - 06-Dec-06 06:38 ---------------------------------------------------------------------- Hello Paul! I don't want to have the children of Sent, but want to check if Sent exists. From that point of view, the mailbox separator makes no sense. Right? And why does it work with the Drafts folder? Both folders exists. a002 List "Drafts" "%" * LIST (\hasnochildren) "/" "Drafts" a002 OK LIST completed a003 List "Sent" "%" a003 BAD reference name contains invalid characters a004 List "" "*" * LIST (\hasnochildren) "/" "Drafts" * LIST (\hasnochildren) "/" "INBOX" * LIST (\hasnochildren) "/" "Junk" * LIST (\hasnochildren) "/" "Sent" * LIST (\hasnochildren) "/" "Trash" ---------------------------------------------------------------------- aaron - 06-Dec-06 07:22 ---------------------------------------------------------------------- Please SELECT the relevant rows the dbmail_mailboxes and dbmail_acls tables and attach a level 5 log of running those two LIST commands. ---------------------------------------------------------------------- lkneschke - 06-Dec-06 08:16 ---------------------------------------------------------------------- Just have a look at the attached file. It should contain all requested informations. Issue History Date Modified Username Field Change ====================================================================== 05-Dec-06 14:41 lkneschke New Issue 05-Dec-06 22:12 paul Note Added: 0001647 05-Dec-06 22:12 paul Status new => assigned 05-Dec-06 22:12 paul Assigned To => paul 06-Dec-06 06:38 lkneschke Note Added: 0001648 06-Dec-06 07:22 aaron Note Added: 0001649 06-Dec-06 08:15 lkneschke File Added: dbmail_bug_467.txt 06-Dec-06 08:16 lkneschke Note Added: 0001650 ======================================================================
