Hi, I am unable to subscribe to shared folders with Thunderbird although everything seems to be correct (dovecot 1.2). What does not work? I click "Subscribe..." in Thunderbird. The shared mailboxes are listed, all with [ ] (no checkbox). Therefore I mark them [x], click "subscribe" and "OK". However, the folders do not appear in the folder tree. Furthermore, when I again click "Subscribe..." the folders do NOT have the mark [x] any more. This happens on different computers with *new* profiles. My configuration is the following (maybe that is the problem?!): namespace private { separator = . prefix =. inbox = no list = no hidden = yes location = maildir:~/Maildir-root subscriptions = yes } namespace private { separator = . prefix = INBOX. inbox = yes subscriptions = yes } namespace public { separator = . prefix = Shared. location = maildir:/var/mail/shared:INDEX=~/Maildir/shared:LAYOUT=fs subscriptions = no } The folder /var/mail/shared has appropriate permissions/form: * Owner: $user:mailuser (all users are member of "mailuser") * All files 0660, all folders 0770 * There exists a dovecot-shared in every folder * There exists a dovecot-acl in each folder where each user has the permissions "lrwstie" I switched on "mail_debug = yes" but no messages. However, the file ~/Maildir-root/subscriptions contains the subscribed folders: Shared.Group1 Shared.Group2 Shared.Group1/Test Furthermore, I switched on rawlog. Everything seems to be OK as well: .in-file: 2 subscribe "Shared.Group1" 3 lsub "" "INBOX.*" 5 lsub "" "Shared.*" 6 list "" "INBOX" .out-file: 2 OK Subscribe completed. [...] I am pretty sure it already worked. But it stopped working. Does anybody have a hint what could be the problem? Regards, Luke
Am 14.02.2011 14:54, schrieb Lukas Haase:> Hi, > > I am unable to subscribe to shared folders with Thunderbird although > everything seems to be correct (dovecot 1.2). > > What does not work? I click "Subscribe..." in Thunderbird. The shared > mailboxes are listed, all with [ ] (no checkbox). Therefore I mark them > [x], click "subscribe" and "OK". However, the folders do not appear in > the folder tree. Furthermore, when I again click "Subscribe..." the > folders do NOT have the mark [x] any more. This happens on different > computers with *new* profiles. > > My configuration is the following (maybe that is the problem?!): > > namespace private { > separator = . > prefix =. > inbox = no > list = no > hidden = yes > location = maildir:~/Maildir-root > subscriptions = yes > } > > namespace private { > separator = . > prefix = INBOX. > inbox = yes > subscriptions = yes > } > > namespace public { > separator = . > prefix = Shared. > location = maildir:/var/mail/shared:INDEX=~/Maildir/shared:LAYOUT=fs > subscriptions = no > } > [...]In this case the subscriptions for Shared. are saved in ~/Maildir-root/subscriptions. However, may be that this does NOT work in practice? It works as soon as I set "subscriptions = yes" in the public namespace :-( However, then the subscriptions are saved in the shared folder and the users overwrite them themselves :-/ Regards, Luke
Lukas Haase
2011-Feb-16 19:31 UTC
[Dovecot] Bug(?): LSUB returns empty string although subscribed (was: Re: Cannot subscribe to shared folders)
Hi, I did further investigation on this issue (using raw IMAP commands) and I think that this is a bug... Am 15.02.2011 18:53, schrieb Lukas Haase:> Am 14.02.2011 14:54, schrieb Lukas Haase: >> Hi, >> >> I am unable to subscribe to shared folders (...) >> everything seems to be correct (dovecot 1.2). >> >> My configuration is the following (maybe that is the problem?!): >> >> namespace private { >> separator = . >> prefix >> inbox = no >> list = no >> hidden = yes >> location = maildir:~/Maildir-root >> subscriptions = yes >> } >> >> namespace private { >> separator = . >> prefix = INBOX. >> inbox = yes >> subscriptions = yes >> } >> >> namespace public { >> separator = . >> prefix = Shared. >> location = maildir:/var/mail/shared:INDEX=~/Maildir/shared:LAYOUT=fs >> subscriptions = YES / NO <-- >> } >> [...]In each case I make sure that all folders are subscribed, that is, the subscribe command returns OK and the subscribed folders are written into /var/mail/shared/subscriptions and ~/Maildir-root/subscriptions, respectively. Just to make sure: # cat /var/mail/shared/subscriptions NoSpamDrop Public SpamDrop # cat /home/lukas/Maildir-root/subscriptions Shared.NoSpamDrop Shared.Public Shared.SpamDrop # It turns out that if I set 1.) subscriptions = yes (in the public namespace above) the lsub command behaves correct: . list "" "Shared.*" * LIST (\HasNoChildren) "." "Shared.NoSpamDrop" * LIST (\HasNoChildren) "." "Shared.Public" * LIST (\HasNoChildren) "." "Shared.SpamDrop" . OK List completed. . lsub "" "Shared.*" * LSUB () "." "Shared.NoSpamDrop" * LSUB () "." "Shared.Public" * LSUB () "." "Shared.SpamDrop" . OK Lsub completed. . logout * BYE Logging out . OK Logout completed. closed 2.) ...but with subscriptions = no the lsub command returns an empty list ALTHOUGH the folders are subscribed: . list "" "Shared.*" * LIST (\HasNoChildren) "." "Shared.NoSpamDrop" * LIST (\HasNoChildren) "." "Shared.Public" * LIST (\HasNoChildren) "." "Shared.SpamDrop" . OK List completed. . lsub "" "Shared.*" . OK Lsub completed. . logout * BYE Logging out . OK Logout completed. Now I am pretty sure that this is a bug. Maybe it is better to file a bug report? Best regards, Luke