Hi,
Thank you for your reply (and the bad news ;-) )
So the one solution for v1.2 is to use CONTROL=~/... in the public
namespace and relinquish the shared keywords feature?
Regards,
Luke
Am 17.02.2011 09:02, schrieb Timo Sirainen:
It's a bug, yes. It's also already fixed in v2.1 code tree as a result
of large cleanups and fixes to mailbox/subscriptions listing.
Backporting the fixes to v2.0 (or even worse: v1.x) would probably be a
lot of trouble..
On Wed, 2011-02-16 at 20:31 +0100, Lukas Haase wrote:
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