[Dovecot] Masking INBOX.INBOX

Ben Schumacher me at benschumacher.com
Tue Jul 18 18:43:12 EEST 2006


I am using dovecot and trying to make it compatible with my a BincIMAP
installation. BincIMAP uses a scheme similar to Courier-IMAP, so I set
up this default_mail_env:

default_mail_env = maildir:~/Maildir

And this namespace:

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

Which mostly works as expected, but I now see an "INBOX" subfolder of
"INBOX" in LIST:

* OK Dovecot ready.
1 login ben ********
1 OK Logged in.
2 list "" "*"
* LIST (\HasChildren) "." "INBOX"
* LIST (\HasNoChildren) "." "INBOX.INBOX"
* LIST (\HasNoChildren) "." "INBOX.Drafts"
* LIST (\HasChildren) "." "INBOX.Jabber"
* LIST (\HasChildren) "." "INBOX.Keepers"
* LIST (\HasChildren) "." "INBOX.Ruby"
* LIST (\HasNoChildren) "." "INBOX.Trash"
* LIST (\HasNoChildren) "." "INBOX.Sent"
* LIST (\HasNoChildren) "." "INBOX.Spam"
* LIST (\HasNoChildren) "." "INBOX.postmaster"
* LIST (\HasNoChildren) "." "INBOX.qmail"
* LIST (\HasNoChildren) "." "INBOX.Jabber.XMPPWG"
* LIST (\HasNoChildren) "." "INBOX.Jabber.standards-jig"
* LIST (\HasNoChildren) "." "INBOX.Keepers.2003"
* LIST (\HasNoChildren) "." "INBOX.Keepers.2004"
* LIST (\HasNoChildren) "." "INBOX.Keepers.2005"
* LIST (\HasNoChildren) "." "INBOX.Ruby.ruby-talk"
2 OK List completed.

Is there anyway to mask this from displaying? I've toyed with various
configurations to try to hide it, but nothing seems to work. What's
annoying is this situation:

3 LSUB "" "*"
* LSUB () "." "INBOX.Spam"
* LSUB () "." "INBOX.Trash"
* LSUB () "." "INBOX.Sent"
* LSUB () "." "INBOX.Drafts"
3 OK Lsub completed.
4 SUBSCRIBE "INBOX"
4 OK Subscribe completed.
5 LSUB "" "*"
* LSUB () "." "INBOX.Spam"
* LSUB () "." "INBOX.Trash"
* LSUB () "." "INBOX.Sent"
* LSUB () "." "INBOX.Drafts"
* LSUB () "." "INBOX.INBOX"
5 OK Lsub completed.

Note that in my first LSUB the main "INBOX" isn't subscribed to. I
then "SUBSCRIBE" in 4 to "INBOX" and dovecot translates that to
subscribing to "INBOX.INBOX". Not a huge deal, but it does cause
Thunderbird to act weirdly (although Thunderbird allows me to
UNSUBSCRIBE to "INBOX" and still get new mail), but I'm not sure what
the effect will be on other clients.

Any ideas?

Thanks,
Ben


More information about the dovecot mailing list