[Dovecot] how to announce shared folders to clients using non-default mail prefix

Tom Lieuallen toml at engr.orst.edu
Tue Jun 12 21:16:52 EEST 2012



On 6/11/12 5:21 AM, Timo Sirainen wrote:
> On 8.6.2012, at 3.34, Tom Lieuallen wrote:
>
>> Note that if I change the prefix for that shared namespace to 'iphonemail/', it does present my shared folders as well as anything in a personal iphonemail directory.  However, 'select' didn't work with the personal folders.  My guess is it's mostly due to the difference in mail formats between the two (mbox&  maildir).
>
> You should be able to use prefix=iphonemail/shared/

Timo et all,

Unfortunately, that did not work.


l list "" *
* LIST (\Noselect \HasChildren) "/" "foo1"
* LIST (\NoInferiors \UnMarked) "/" "foo1/folder1"
* LIST (\Noselect \HasChildren) "/" "iphonemail"
* LIST (\NoInferiors \Marked) "/" "iphonemail/foo1"
* LIST (\NoInferiors \UnMarked) "/" "Sent"
* LIST (\NoInferiors \UnMarked) "/" "Trash"
* LIST (\HasNoChildren) "/" "INBOX"
* LIST (\HasNoChildren) "/" "sharedimap/cesupport"
* LIST (\HasNoChildren) "/" "sharedimap/mimesupport"
* LIST (\HasNoChildren) "/" "iphonemail/sharedimap/cesupport"
* LIST (\HasNoChildren) "/" "iphonemail/sharedimap/mimesupport"
l OK List completed.

l list "iphonemail/" *
* LIST (\NoInferiors \Marked) "/" "iphonemail/foo1"
l OK List completed.


So, the shared folders are listed twice when I do not include a prefix 
and neither are shown at all when I do include a prefix.

namespace {
   hidden = yes
   inbox = no
   list = children
   location = maildir:/a1/dove-shared:INDEX=/a2/imap-index/dove-shared/%u
   prefix = iphonemail/sharedimap/
   separator = /
   type = shared
}

I'm assuming I'm testing this correctly and in the best way. :-)

thank you

Tom Lieuallen



More information about the dovecot mailing list