[Dovecot] Shared folders and subscriptions
    Markus Werner 
    markiwer at googlemail.com
       
    Fri Apr 17 23:48:56 EEST 2009
    
    
  
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 test at example.com *******
a1 OK [CAP.....
a2 list "" "*"
* LIST (\HasChildren) "/" "INBOX"
* LIST (\Noselect \HasChildren) "/" "#User"
* LIST (\Noselect \HasChildren) "/" "#User/markus at example.com"
* LIST (\HasNoChildren) "/" "#User/markus at example.com/ForTest"
a3 subscribe "#User/markus at example.com/ForTest"
a3 OK Subscribe completed.
a4 lsub "" "*"
* LSUB (\Noselect) "/" "#User/markus at 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
    
    
More information about the dovecot
mailing list