[Dovecot] INBOX. namespace

Brian Candler B.Candler at pobox.com
Sat Mar 27 13:30:59 EET 2010


On Sat, Mar 27, 2010 at 03:54:48AM +0200, Timo Sirainen wrote:
> > but when I do 'examine inbox' I see it has been munged:
> ..
> >  30362 imap     NAMI  "/mail/0/6/37/30/briandev.example.comev.example.com/tmp"
> 
> Oh. This should fix it:
> http://hg.dovecot.org/dovecot-1.2/rev/0cf38dcd8ced

Yes, that does the job, thank you!

As a separate problem, I still find I can open INBOX.INBOX:

a namespace
* NAMESPACE (("INBOX." ".")) NIL NIL
a OK Namespace completed.
a list "" *
* LIST (\HasChildren) "." "INBOX"
* LIST (\HasNoChildren) "." "INBOX.testfolder"
* LIST (\HasNoChildren) "." "INBOX.Trash"
* LIST (\HasNoChildren) "." "INBOX.junk"
* LIST (\HasNoChildren) "." "INBOX.Sent"
* LIST (\HasNoChildren) "." "INBOX.Drafts"
* LIST (\HasNoChildren) "." "INBOX.Spam"
a OK List completed.
a examine INBOX.INBOX
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft unknown-1 unknown-2 unknown-3 unknown-4 unknown-5 Old)
* OK [PERMANENTFLAGS ()] Read-only mailbox.
* 91 EXISTS
* 0 RECENT
* OK [UNSEEN 3] First unseen.
* OK [UIDVALIDITY 1268411312] UIDs valid
* OK [UIDNEXT 699] Predicted next UID
* OK [HIGHESTMODSEQ 1] Highest
a OK [READ-ONLY] Select completed.

This is using the config from http://wiki.dovecot.org/Migration/Courier

namespace private {
  prefix = INBOX.
  separator = .
  inbox = yes
}

I don't suppose a *real* IMAP client would attempt to open INBOX.INBOX
given that it's not shown in "list" output. But as an experiment I tried
setting inbox = no, and adding another namespace:

namespace private {
  prefix =
  separator = .
  inbox = yes
  hidden = yes
  list = no
  subscriptions = yes 
}

and now it seems to be OK:

a namespace
* NAMESPACE (("INBOX." ".")) NIL NIL
a OK Namespace completed.
a list "" *
* LIST (\HasChildren) "." "INBOX"
* LIST (\HasNoChildren) "." "INBOX.testfolder"
* LIST (\HasNoChildren) "." "INBOX.Trash"
* LIST (\HasNoChildren) "." "INBOX.junk"
* LIST (\HasNoChildren) "." "INBOX.Sent"
* LIST (\HasNoChildren) "." "INBOX.Drafts"
* LIST (\HasNoChildren) "." "INBOX.Spam"
a OK List completed.
a examine INBOX.INBOX
a NO Mailbox doesn't exist: INBOX

Would you say there any benefit in doing this, or should I just stick to the
simpler config given on the wiki?

Regards,

Brian.


More information about the dovecot mailing list