[Dovecot] Problem with namespace (maybe bug?)

l.chelchowski
Wed, 27 Oct 2010 09:11:59 -0000

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