Hi,

I've got a problem with user shared folders and subscriptions. When I try to
subscribe a folder, dovecot returns "OK Subscribe completed", but the newly
subscribed folder is not listed with LSUB:

a1 login t...@example.com *******
a1 OK [CAP.....
a2 list "" "*"
* LIST (\HasChildren) "/" "INBOX"
* LIST (\Noselect \HasChildren) "/" "#User"
* LIST (\Noselect \HasChildren) "/" "#User/mar...@example.com"
* LIST (\HasNoChildren) "/" "#User/mar...@example.com/ForTest"
a3 subscribe "#User/mar...@example.com/ForTest"
a3 OK Subscribe completed.
a4 lsub "" "*"
* LSUB (\Noselect) "/" "#User/mar...@example.com"


Dovecot is 1.2-rc3, namespace configuration as follows:

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

namespace public {
    separator = /
    prefix = "#Shared/"
    location = 
maildir:/var/spool/dovecot/sharedfolders:INDEX=~/Maildir/index/public:CONTROL=~/Maildir/control/public
    subscriptions = yes
}

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

I tried without CONTROL= directory in the shared namespace, but that made no 
difference.

Contents of the subscriptions (with CONTROL=) file after subscribing:

ForTestUser



Regards,
Markus

Reply via email to