[Dovecot] Problem with namespace (maybe bug?)
Hi!
Could you tell me what is wrong with an "existence" of mailbox? Please see the two examples:
. list "" "*"
* LIST (\HasNoChildren) "/" "Trash"
* LIST (\HasNoChildren) "/" "Junk"
* LIST (\HasNoChildren) "/" "Sent"
* LIST (\HasNoChildren) "/" "Drafts"
* LIST (\HasNoChildren) "/" "Archives"
* LIST (\HasNoChildren) "/" "INBOX"
* LIST (\HasNoChildren) "/" "Public/AddressBook"
* LIST (\HasNoChildren) "/" "Public/PublicMails"
* LIST (\Noselect \HasChildren) "/" "Shared/dziobak"
* LIST (\Noselect \HasChildren) "/" "Shared/tester2"
* LIST (\HasNoChildren) "/" "Shared/dziobak/root"
* LIST (\HasChildren) "/" "Shared/tester2/sdfgsg"
* LIST (\HasChildren) "/" "Shared/tester2/sdfgsg/gsdfgf"
* LIST (\HasChildren) "/" "Shared/tester2/sdfgsg/gsdfgf/vtyjyfgj"
* LIST (\HasChildren) "/"
"Shared/tester2/sdfgsg/gsdfgf/vtyjyfgj/rtdhrthxs" * LIST (\HasNoChildren) "/" "Shared/tester2/sdfgsg/gsdfgf/vtyjyfgj/rtdhrthxs/zhfhg" . OK List completed.
This looks OK.
. list (subscribed) "" "*"
* LIST (\Subscribed) "/" "Trash"
* LIST (\Subscribed) "/" "Junk"
* LIST (\Subscribed) "/" "Sent"
* LIST (\Subscribed) "/" "Drafts"
* LIST (\Subscribed \NonExistent) "/" "Public/AddressBook"
* LIST (\Subscribed \NonExistent) "/" "Public/PublicMails"
* LIST (\Subscribed \NonExistent) "/" "Public/"
* LIST (\Subscribed) "/" "Archives"
* LIST (\Subscribed \NonExistent) "/" "Shared/dziobak/root"
* LIST (\Subscribed \NonExistent) "/" "Shared/tester2/sdfgsg"
* LIST (\Subscribed \NonExistent) "/" "Shared/tester2/sdfgsg/gsdfgf"
* LIST (\Subscribed \NonExistent) "/"
"Shared/tester2/sdfgsg/gsdfgf/vtyjyfgj" * LIST (\Subscribed \NonExistent) "/" "Shared/tester2/sdfgsg/gsdfgf/vtyjyfgj/rtdhrthxs" * LIST (\Subscribed \NonExistent) "/" "Shared/tester2/sdfgsg/gsdfgf/vtyjyfgj/rtdhrthxs/zhfhg" * LIST (\Subscribed \NonExistent) "/" "Shared/" . OK List completed.
Why the public and shared mailboxes have flag \NonExistent?
Here is a cut of dovecot -n
# 1.2.14: /usr/local/etc/dovecot.conf
# OS: FreeBSD 7.2-RELEASE i386
namespace:
type: private
separator: /
inbox: yes
list: yes
subscriptions: yes
namespace:
type: public
separator: /
prefix: Public/
location:
maildir:/home/public/Maildir:CONTROL=~/Maildir/control/public:INDEX=~/Maildir/index/public list: children namespace: type: shared separator: / prefix: Shared/%%u/ location: maildir:%%h/Maildir:INDEX=~/Maildir/index/shared/%%u list: children
plugin:
autocreate: Trash
autocreate2: Junk
autocreate3: Sent
autocreate4: Drafts
autocreate5: Archives
autosubscribe: Trash
autosubscribe2: Junk
autosubscribe3: Sent
autosubscribe4: Drafts
autosubscribe5: Public.AddressBook
autosubscribe6: Public.PublicMails
autosubscribe7: Archives
acl: vfile:/usr/local/etc/dovecot/acls
acl_shared_dict:
file:/usr/local/etc/dovecot/shared/shared-mailboxes.db
Could you tell me where is the problem, is it a bug or my config mistake?
-- Pozdrawiam Łukasz
On 27.10.2010, at 11.11, l.chelchowski wrote:
. list (subscribed) "" "*"
- LIST (\Subscribed \NonExistent) "/" "Shared/tester2/sdfgsg/gsdfgf/vtyjyfgj/rtdhrthxs/zhfhg" . OK List completed.
Could you tell me where is the problem, is it a bug or my config mistake?
Looks like a bug, yeah. Should be fixed in v2.0. I don't know if it's worth the trouble to fix it in v1.2 anymore though..
Timo,
On 10/28/10 5:13 AM, "Timo Sirainen" tss@iki.fi wrote:
. list (subscribed) "" "*"
- LIST (\Subscribed \NonExistent) "/" "Shared/tester2/sdfgsg/gsdfgf/vtyjyfgj/rtdhrthxs/zhfhg" . OK List completed.
Looks like a bug, yeah. Should be fixed in v2.0. I don't know if it's worth the trouble to fix it in v1.2 anymore though..
I think it's differently broken in 2.0 in certain configurations. See http://www.dovecot.org/list/dovecot/2010-October/054310.html
It's possible that the same change to SUBSCRIPTIONS would fix it on 1.2?
-Brad
On Wed, 2010-10-27 at 11:11 +0200, l.chelchowski wrote:
. list (subscribed) "" "*" * LIST (\Subscribed \NonExistent) "/"
"Shared/tester2/sdfgsg/gsdfgf/vtyjyfgj" * LIST (\Subscribed \NonExistent) "/" "Shared/tester2/sdfgsg/gsdfgf/vtyjyfgj/rtdhrthxs" * LIST (\Subscribed \NonExistent) "/" "Shared/tester2/sdfgsg/gsdfgf/vtyjyfgj/rtdhrthxs/zhfhg" * LIST (\Subscribed \NonExistent) "/" "Shared/" . OK List completed.
Why the public and shared mailboxes have flag \NonExistent?
A bug, yeah.
# 1.2.14: /usr/local/etc/dovecot.conf
It's been fixed in v2.0 already. Seems like a lot of trouble to get this fixed for v1.2.
participants (3)
-
Brandon Davidson
-
l.chelchowski
-
Timo Sirainen