"mail_shared_explicit_inbox = no", but shared INBOX has a "\Noselect" tag?

Rudolf Körner r.koerner at tscheinig.com
Thu Feb 4 17:14:29 UTC 2016


Regarding the given information, it seems to me that the option 
"mail_shared_explicit_inbox=no" does not work as expected.

Quote from NEWS-2.2:
mail_shared_explicit_inbox setting to specify if a shared INBOX should 
be accessible as "shared/$user" or "shared/$user/INBOX"


Using Dovecot 2.2.13 and Maildir++
Working on the commandline:

  # doveconf mail_shared_explicit_inbox
  mail_shared_explicit_inbox = no

  # service dovecot restart

  # ls -lda /mail/reader/Shared/owner at example.com/.*
Shows no (hidden) folders.

  # telnet 127.0.0.1 143
  a0 login reader at example.com ***
  a1 list "" "Shared/owner at example.com"
  * LIST (\Noselect \HasChildren) "/" Shared/owner at example.com
  a1 OK List completed.

Is the retrieved "\Noselect" tag correct with the option 
"mail_shared_explicit_inbox = no"?
I would expect the folder "Shared/owner at example.com" to be "selectable", 
because I thought the option "mail_shared_explicit_inbox = no" would 
make e-mails of a shared INBOX visible directly at the folder 
"Shared/owner at example.com" (which does not work in my case).

Note: Shared *sub*folders of an INBOX work as expected.
Just to show that the shared INBOX is accessible (note that it is not 
shown by a list "" "*" here, which is expected with that option):

  a2 list "" "Shared/owner at example.com/INBOX"
  a2 OK List completed.

  a3 select Shared/owner at example.com/INBOX
  * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
  * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] 
Flags permitted.
  * 27 EXISTS

Using "mail_shared_explicit_inbox = yes" does show the INBOX as a 
subfolder of "Shared/owner at example.com" and allows accessing the e-mails 
of the shared INBOX. However, it would be nice (and keep users happy at 
using their known shared folder layout) to see the e-mails of the shared 
INBOX at the Shared/owner at example.com folder.

Best Regards,
R.Koerner


output of (removed irrelevant things like auth,pop,passdb,userdb,ssl,debug)
# dovecot -n
# 2.2.13: /etc/dovecot/dovecot.conf
mail_location = maildir:~/Maildir
mail_log_prefix = "%Us(%u): "
mail_plugins = acl listescape
namespace {
   hidden = no
   ignore_on_failure = no
   inbox = no
   list = children
   location = 
maildir:%%h/Maildir:INDEX=%h/Shared/%%u:CONTROL=%h/Shared/%%u:INDEXPVT=%h/Shared/%%u
   prefix = Shared/%%u/
   separator = /
   subscriptions = yes
   type = shared
}
namespace inbox {
   inbox = yes
   location =
   mailbox Drafts {
     special_use = \Drafts
   }
   mailbox Junk {
     special_use = \Junk
   }
   mailbox Sent {
     special_use = \Sent
   }
   mailbox "Sent Messages" {
     special_use = \Sent
   }
   mailbox Trash {
     special_use = \Trash
   }
   prefix = INBOX/
   separator = /
   subscriptions = yes
   type = private
}

plugin {
   acl = vfile
   acl_shared_dict = file:/var/lib/dovecot/db/shared-mailboxes.db
   mail_log_events = delete undelete expunge copy mailbox_delete 
mailbox_rename
}
protocols = imap lmtp
protocol imap {
   mail_plugins = acl listescape imap_acl
}



More information about the dovecot mailing list