I either misunderstand the namespace hidden option, or else perhaps it's not working correctly in 1.0.5? dovecot.conf # default namespace namespace private { separator = / prefix inbox = yes hidden = yes } # for backwards compatibility: namespace private { separator = . prefix = INBOX. inbox = yes } Then login and test s6jh LIST "" "*" SND: <<< len(939) Comp_len(118) Time:0.137985 * LIST (\HasNoChildren) "/" "Diary" * LIST (\HasNoChildren) "/" "Spam" * LIST (\HasNoChildren) "/" "Sent" * LIST (\HasNoChildren) "/" "Archive" * LIST (\HasNoChildren) "/" "Sent Items" * LIST (\HasNoChildren) "/" "Subdir" * LIST (\HasNoChildren) "/" "Junk E-mail" * LIST (\HasNoChildren) "/" "Trash" * LIST (\HasNoChildren) "/" "Drafts" * LIST (\HasNoChildren) "/" "Deleted Items" * LIST (\HasNoChildren) "/" "INBOX" * LIST (\HasNoChildren) "." "INBOX.Diary" * LIST (\HasNoChildren) "." "INBOX.Spam" * LIST (\HasNoChildren) "." "INBOX.Sent" * LIST (\HasNoChildren) "." "INBOX.Archive" * LIST (\HasNoChildren) "." "INBOX.Sent Items" * LIST (\HasNoChildren) "." "INBOX.Subdir" * LIST (\HasNoChildren) "." "INBOX.Junk E-mail" * LIST (\HasNoChildren) "." "INBOX.Trash" * LIST (\HasNoChildren) "." "INBOX.Drafts" * LIST (\HasNoChildren) "." "INBOX.Deleted Items" * LIST (\HasChildren) "." "INBOX" The idea was to support an old client using Courier like access whilst still letting new clients access using the normal process Ed W
Benjamin R. Haskell
2007-Oct-03 18:03 UTC
[Dovecot] Namespace "hidden" option not working?
On Wed, 3 Oct 2007, Ed W wrote:> I either misunderstand the namespace hidden option, or else perhaps it's not > working correctly in 1.0.5? > > > dovecot.conf > > # default namespace > namespace private { > separator = / > prefix > inbox = yes > hidden = yes > } > > # for backwards compatibility: > namespace private { > separator = . > prefix = INBOX. > inbox = yes > }You shouldn't have inbox = yes on more than one namespace. From the comments in my dovecot.conf: # There can be only one INBOX, and this setting defines which namespace # has it. #inbox = yes I think you're also hiding the wrong namespace. You don't want to advertise the backwards-compatibility namespace to clients. If they're already using the old one, they can still use it, but you don't want new clients to start using it. Namespace-aware clients will adapt (in theory?). Best, Ben