[Dovecot] Custom Trash (etc) location

Fusionstream fusionstream at gmail.com
Thu Jun 23 12:55:51 EEST 2011


Thanks for your reply. 

Because I'd like to have all imap folders in an obvious folder so as not to confuse a user who switches over from pop, or is familiar with gmail's imap layout in thunderbird which has a local copy of trash, sent and draft. INBOX will remain because as you rightly pointed out, that is standard.

I've reverted back to just letting autocreate create the folders with no namespace defined but I'm sure there is a proper way of setting up namespaces.
-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Willie Gillespie <wgillespie+dovecot at es2eng.com> wrote:

On 06/21/2011 08:11 AM, fusionstream wrote:
> Hi there.
>
> I have dovecot 1.2.17 installed on me system.
>
> I'd like to create a gmail-esque imap tree where all imap folders except
> for the inbox are in a subdirectory(?). More importantly, I'd like the
> email client (specifically thunderbird) to be able to recognise the
> folders and thusly give it a special trash/junk/etc icon which I presume
> also makes trash and junk go to, well the truash and junk folders
> automagically. Based on searching the web, I believe that namespaces are
> the solution. I believed that I had set it up to be
> 1) Inbox
> 2) IMAP
> - Drafts
> - Junk
> - Trash
> - etc
>
> However, when trying to use namespaces, I get IMAP.Drafts, IMAP.Junk and
> all the other folders also appearing in INBOX, in addition to another
> top-level IMAP.*. What am I doing wrong? If I understand the solutions
> posted on the web correctly, solving this (resulting in only one of each
> type of folder) should make thunderbird automagically recognise these
> "special folders".

Why not just have one namespace with the IMAP. prefix? "INBOX" is a 
special reserved mailbox that will always exist.

As far as Thunderbird "recognizing" the folders and giving them the 
special icons -- that's nothing Dovecot has control over. Thunderbird 
will just look for common-named folders, such as "Trash" and figure 
that's the Trash spot.



More information about the dovecot mailing list