Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Jul 13, 2009 6:27 pm 
Offline
Senior Newbie

Joined: Fri Jul 10, 2009 3:03 pm
Posts: 19
As I've moved from Courier to Dovecot as my mail delivery agent, I noticed a thing I liked in Courier that I'd like to duplicate with Dovecot.

I've setup dovecot with maildir according to this doc:

https://help.ubuntu.com/community/Dovecot

In my dovecot.conf, I've set my mail location as:

Code:
mail_location = maildir:~/Maildir


In webmin, I've set mail location to be:

Code:
Inbox and folders in ~/Maildir

Here's a screenshot of how my old courier email compares to how my new dovecot email looks in Mozilla Thunderbird:

Image

If you look at courier email, you'll see Drafts, Sent, Junk, Trash as subdirectories or subfolders under the main "folder" or "directory" of Inbox.

If you look at dovecot email, you'll see Inbox, Draft, Templates, Sent, Junk, Trash all joined together as the same level as Inbox.

How can I setup my dovecot to have it look like my old courier email?

Like this:

Inbox
|
--Draft
--Templates
--Sent
--Junk
--Trash

Mozilla Thunderbird v2.0.0.22
Dovecot v1.1.11
Ubuntu 9.04


Top
   
 Post subject:
PostPosted: Tue Jul 14, 2009 5:04 am 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
By default, Courier uses "INBOX." as the IMAP namespace for private mailboxes. You need to add the following to dovecot.conf:
Code:
namespace private {
  prefix = INBOX.
  inbox = yes
}

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Tue Jul 14, 2009 1:09 pm 
Offline
Senior Newbie

Joined: Fri Jul 10, 2009 3:03 pm
Posts: 19
Thanks Peter it works perfectly now!

I did notice right now that the dovecot wikimentions this:

Code:
You can continue using the same INBOX. namespace as Courier:

namespace private {
  separator = .
  prefix = INBOX.
  inbox = yes
}


Is that "separator = ." important for anything?


Top
   
 Post subject:
PostPosted: Tue Jul 14, 2009 7:49 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
MichaelE wrote:
Is that "separator = ." important for anything?

"separator = ." is the default for maildir. You normally only need to change this to suit some picky IMAP clients. Thunderbird is not one of them.

_________________
/ Peter


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group