[Dovecot] problem with ~/mail/ namespace

Tom Lieuallen toml at engr.orst.edu
Wed Dec 15 22:43:18 EET 2010


We just changed from UW imap last night and one of our bigger problems 
right now is that the ~/mail/ compatibility namespace doesn't seem to 
work.  dovecot 2.0.8

Dec 15 12:01:52 zen.engr.oregonstate.edu dovecot: [ID 583609 
mail.warning] imap(tom2): Warning: Subscriptions file 
/nfs/rack/u4/t/tom2/mail/.subscriptions: Ignoring invalid entry: 
~/mail/foo1/folder1
Dec 15 12:01:52 zen.engr.oregonstate.edu dovecot: [ID 583609 
mail.warning] imap(tom2): Warning: Subscriptions file 
/nfs/rack/u4/t/tom2/mail/.subscriptions: Ignoring invalid entry: 
~tom2/mail/foo1/folder1

from .subscriptions:
~/mail/foo1/folder1
~tom2/mail/foo1/folder1


in 10-mail.conf
namespace {
   type = private
   separator = /
   prefix =
   inbox = yes
}
# for backwards compatibility:
namespace {
   type = private
   separator = /
   prefix = mail/
   hidden = yes
   list = no
}
namespace {
   type = private
   separator = /
   prefix = ~/mail/
   hidden = yes
   list = no
}
namespace {
   type = private
   separator = /
   prefix = ~%u/mail/
   hidden = yes
   list = no
}



What's funny is that it appears to work with a preauthenticated session 
or by using openssl to connect to port 993.

1 list "~/mail/" *
* LIST (\NoInferiors \UnMarked) "/" "~/mail/testfolder"
* LIST (\NoInferiors \UnMarked) "/" "~/mail/Trash"
* LIST (\NoInferiors \UnMarked) "/" "~/mail/Sent"
* LIST (\Noselect \HasChildren) "/" "~/mail/foo1"
* LIST (\NoInferiors \UnMarked) "/" "~/mail/foo1/folder1"
* LIST (\Noselect \HasChildren) "/" "~/mail/foo2"
* LIST (\NoInferiors \UnMarked) "/" "~/mail/foo2/folder1"
1 OK List completed.


1 select ~/mail/foo2/folder1
* OK [CLOSED] Previous mailbox closed.
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] 
Flags permitted.
* 1 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1274985137] UIDs valid
* OK [UIDNEXT 2] Predicted next UID
* OK [HIGHESTMODSEQ 1] Highest
1 OK [READ-WRITE] Select completed.


We're seeing this with at least thunderbird and outlook.

thank you

Tom Lieuallen
Oregon State University


More information about the dovecot mailing list