Lawrence Katz wrote:
Hi Chris -
Thank you for the reply.
I can't reproduce this in our setup in either 1.0-stable or 1.0-test66. What's your namespace definition and MAIL= environment? What does
1 LIST "Misc/" "*"
give you?
The LIST command returns what I expect to see (for readability):
2 list "Misc/" "*"
- LIST (\HasNoChildren) "/" "Misc/Spam"
Can you 1 SELECT "Misc/Spam" OK?
I can select that mailbox as well as others without a problem. Here's what NAMESPACE returns:
3 NAMESPACE
- NAMESPACE (("" "/")) NIL NIL
My namespace definition in dovecot.conf is as follows:
namespace private { separator = / # prefix = # location = inbox = yes # hidden = yes }
I didn't have default_mail_env set to anything, but I just tried the following without a change in the STATUS command's behavior:
default_mail_env = maildir:/home/%u/Maildir
Is there any other information that might help?
Thanks, Lawrence
Sorry, I didn't get my mail settings right (return address given by UNIX pine) for my last post. Fortunately you CC'd it to the list!
Anyway here's a session in 1.0-stable where #maildir is my (test) Maildir namespace (I'm using mbox mostly, so that's what I tried before)
. CREATE "#maildir/test7/test7-2" . OK Create completed. . LIST "#maildir/test7" "*"
- LIST (\Unmarked) "/" "INBOX"
- LIST (\HasNoChildren) "/" "#maildir/test7/test7-2" . OK List completed. . STATUS "#maildir/test7/test7-2" (UNSEEN)
- STATUS "test7.test7-2" (UNSEEN 0) . OK Status completed.
So it seems there's a bug in the Maildir code somewhere. The new folder SELECTs OK, though:
. SELECT "#maildir/test7/test7-2"
- FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
- OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted.
- 0 EXISTS
- 0 RECENT
- OK [UIDVALIDITY 1112827546] UIDs valid
- OK [UIDNEXT 1] Predicted next UID . OK [READ-WRITE] Select completed. . LOGOUT
- BYE Logging out . OK Logout completed.
I'll have a look and see if I can fix it, unless Timo or someone else beats me to it :)
Best Wishes, Chris
-- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, c.d.wakelin@reading.ac.uk IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439 Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094