[Dovecot] Problem with namespaces

Tim Bishop tim-lists at bishnet.net
Thu Oct 16 17:51:36 EEST 2008


[1.1.4 with http://hg.dovecot.org/dovecot-1.1/rev/b61424a50786 applied]

I'm trying to use namespaces as described here for UW-IMAP compatibility:
http://wiki.dovecot.org/Namespaces

But I'm getting a problem with the hidden namespaces showing up in the
LIST output. Here is a simplified transcript.

The ~/Mail folder contains just two folders. The config given to imapd
is as follows:

MAIL=mbox:/home/cut/jru2/Mail:INBOX=/home/cut/jru2/.mail:INDEX=/var/state/dovecot-indexes/jru2
NAMESPACE_1=mbox:/home/cut/jru2/Mail:INBOX=/home/cut/jru2/.mail:INDEX=/var/state/dovecot-indexes/jru2
NAMESPACE_1_INBOX=1
NAMESPACE_1_LIST=1
NAMESPACE_1_PREFIX=
NAMESPACE_1_SEP=/
NAMESPACE_1_SUBSCRIPTIONS=1
NAMESPACE_1_TYPE=private
NAMESPACE_2=mbox:/home/cut/jru2/Mail:INBOX=/home/cut/jru2/.mail:INDEX=/var/state/dovecot-indexes/jru2
NAMESPACE_2_HIDDEN=1
NAMESPACE_2_LIST=0
NAMESPACE_2_PREFIX=mail/
NAMESPACE_2_SEP=/
NAMESPACE_2_SUBSCRIPTIONS=0
NAMESPACE_2_TYPE=private

I would expect the second namespace not to be listed. But it is:

in:
2 LIST "" "*"
3 LOGOUT

out:
* OK [RAWLOG TIMESTAMP] 2008-10-16 15:41:40
* LIST (\NoInferiors \UnMarked) "/" "folder"
* LIST (\NoInferiors \UnMarked) "/" "test"
* LIST (\NoInferiors \Marked) "/" "INBOX"
* LIST (\Noselect \HasChildren) "/" "mail"
* LIST (\NoInferiors \UnMarked) "/" "mail/folder"
* LIST (\NoInferiors \UnMarked) "/" "mail/test"
2 OK List completed.
* BYE Logging out
3 OK Logout completed.

That's with hidden turned on, and the list option turned off.

Am I missing something with my config?

Tim.

-- 
Tim Bishop
http://www.bishnet.net/tim/
PGP Key: 0x5AE7D984


More information about the dovecot mailing list