[Dovecot] Virtual mailboxes show up twice

Matthijs Kooijman matthijs at stdin.nl
Mon Feb 8 14:08:55 EET 2010


Hi all,

I've been struggling a bit getting Hastymail webmail to work with my virtual
mailboxes. After a while, I discovered that my virtual mailboxes are listed
twice: Once with \NoSelect and once without. See the following (partial) LIST
reponse:

* LIST (\Noselect \HasChildren) "/" "virtual"
* LIST (\Noselect \HasNoChildren) "/" "virtual/foo"
...
* LIST (\HasNoChildren) "/" "virtual/foo"

This makes somewhat sense, since my "virtual" namespace is a subdir of my
default namespace:

  mail_location = Maildir:~/Mail:LAYOUT=fs

  # Default namespace, uses mail_location above
  namespace private {
    prefix =
    separator = /
    inbox = yes
  }

  # Virtual mailboxes
  namespace private {
    prefix = virtual/
    separator = /
    # Store virtual mailbox in a "virtual" subdirectory. We use the fs layout,
    # so nesting of mailboxes is done using normal filesystem nesting.
    location = virtual:~/Mail/virtual:LAYOUT=fs
  }


Now, should dovecot handle this configuration transparently by hiding the
virtual directory from the default namespace, or is this configuration just
not supported and should the virtual directory be outside of ~/Mail?

The current wiki documentation on the virtual plugin currently does suggest
this configuration, its examples point to ~/Maildir/virtual.

Gr.

Matthijs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://dovecot.org/pipermail/dovecot/attachments/20100208/49081e37/attachment.bin 


More information about the dovecot mailing list