[Dovecot] Incorrect listing of shared mailbox names

Markus Werner markiwer at googlemail.com
Tue Apr 21 09:21:02 EEST 2009


After the LOGIN do STATUS "User/somemailbox":

a0007 STATUS "INBOX/Rechnung" (UIDNEXT UIDVALIDITY UNSEEN RECENT)
a0008 STATUS "User/lists at example.com/Announce" (UIDNEXT UIDVALIDITY UNSEEN RECENT)
a0009 STATUS "User/system at example.com/INBOX-root" (UIDNEXT UIDVALIDITY UNSEEN RECENT)
a0010 STATUS "User/test at example.com/Shared" (UIDNEXT UIDVALIDITY UNSEEN RECENT)
a0011 STATUS "User/system at example.com/INBOX-mueller" (UIDNEXT UIDVALIDITY UNSEEN RECENT)
* STATUS "INBOX/Rechnung" (RECENT 0 UIDNEXT 82 UIDVALIDITY 1225738300 UNSEEN 0)
a0007 OK Status completed.
* STATUS "User/lists at example.com/Announce" (RECENT 0 UIDNEXT 103 UIDVALIDITY 1240061761 UNSEEN 0)
a0008 OK Status completed.
* STATUS "User/system at example.com/INBOX-root" (RECENT 0 UIDNEXT 4 UIDVALIDITY 1240060869 UNSEEN 0)
a0009 OK Status completed.
* STATUS "User/test at example.com/Shared" (RECENT 0 UIDNEXT 3 UIDVALIDITY 1225742113 UNSEEN 0)
a0010 OK Status completed.
* STATUS "User/system at example.com/INBOX-mueller" (RECENT 0 UIDNEXT 80 UIDVALIDITY 1240060873 UNSEEN 0)
a0011 OK Status completed.


The first listing of "User/%" also lists the first folder of each user,
which has been polled by STATUS before. This seems to occur one time
(after the login) only.

a0012 LIST "" "%"
* LIST (\Noselect \HasChildren) "/" "User"
* LIST (\HasChildren) "/" "INBOX"
a0012 OK List completed.
a0013 LIST "" "User"
* LIST (\Noselect \HasNoChildren) "/" "User"
* LIST (\Noselect \HasChildren) "/" "User"
a0013 OK List completed.
a0014 LIST "" "User/%"
* LIST (\Noselect \HasChildren) "/" "User/Shared"
* LIST (\Noselect \HasChildren) "/" "User/Announce"
* LIST (\Noselect \HasChildren) "/" "User/INBOX-root"
* LIST (\Noselect \HasChildren) "/" "User/test at example.com"
* LIST (\Noselect \HasChildren) "/" "User/lists at example.com"
* LIST (\Noselect \HasChildren) "/" "User/system at example.com"
a0014 OK List completed.



Used namespace configuration:

namespace private {
    separator = /
    prefix = INBOX/
    inbox = yes
    subscriptions = yes
}

namespace private {
    separator = /
    prefix = User/
    location = maildir:/var/lib/dovecot/empty:CONTROL=~/Maildir/control/shared
    subscriptions = yes
    hidden = yes
    list = no
}

namespace shared {
    separator = /
    prefix = User/%%u/
    location = maildir:%%h/Maildir:INDEX=~/Maildir/index/shared/%%u
    subscriptions = no
    list = yes
}


More information about the dovecot mailing list