Lawrence Katz
2005-Apr-06 19:41 UTC
[Dovecot] Delimiter of mailbox changes in response to STATUS command...
Hi - I've been using Hastymail with my Dovecot server for awhile now. However, I have noticed that at some point Hastymail stopped showing the number of unseen messages in its folder drop down list, it just shows 0 for the folders that I have it checking for unseen messages. I'm not sure when it broke, but I think it's when I went to one of the testing builds several months ago. I just upgraded to Hastymail 1.3 and Dovecot testing66 today just to see if the issue would go away and it hasn't. So I did some digging and I think I found the cause of the issue... If I send a STATUS command, like the one shown below, Dovecot changes the mailbox delimiter in the result from a "/" to a "."... 2 STATUS "Misc/Spam" (UNSEEN) * STATUS "Misc.Spam" (UNSEEN 3) 2 OK Status completed. I was able to work around this in Hastymail by substituting a "/" for a "." when the result comes back, but it's not that elegant. Any thoughts on why this might be happening in Dovecot? Is it a configuration issue on my part, or a bug? The private namespace in my dovecot.conf has the following: separator = / Thanks, Lawrence
Lawrence Katz
2005-Apr-06 22:33 UTC
[Dovecot] Delimiter of mailbox changes in response to STATUS command...
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