Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Jan 24, 2008 5:34 am 
Offline
Newbie

Joined: Thu Jan 24, 2008 5:18 am
Posts: 2
Website: http://www.gn.net.au
WLM: documentunknown@hotmail.com
Hey All,

I have googled this a few times, screwed around with it a bit, but I am not really sure what I am doing.

I've been using a Dovecot/Postfix setup on my Dapper Drake linode for the last 18 months, without the ability to have subfolders.

I can have :

grant@gn.net.au/
- Folder Name
- Folder Name Two

But I can't have:

grant@gn.net.au/
- Folder Name/
-- Subfolder Name/
- Folder Name Two/
-- Subfolder Name/
--- Sub Sub Folder Name/
---- etc./

This is quite a hassle, because I'd like to be able to organise my emails in a much more appropriate way and just folders doesn't quite cut it.

My dovecot configuration file is:

http://www.gn.net.au/r/dovecot.conf

My postfix configuration file is:

http://www.gn.net.au/r/postfix_main.cf

I have tried to follow a few tutorials to configure it, and have googled quite a bit but I can't find anything that lets me know what/how I might be able to configure this.

Thanks for any help in advance!

Grant


Top
   
 Post subject:
PostPosted: Thu Jan 24, 2008 8:07 am 
Offline
Linode Staff
User avatar

Joined: Sat Jun 21, 2003 2:21 pm
Posts: 160
Location: Absecon, NJ
I've never used dovecot, so this is a complete guess, but I know some IMAP implementations don't allow a folder to contain both message and sub folders. Have you tried creating a subfolder under and empty parent folder?

--James


Top
   
 Post subject:
PostPosted: Thu Jan 24, 2008 9:06 am 
Offline
Newbie

Joined: Thu Jan 24, 2008 5:18 am
Posts: 2
Website: http://www.gn.net.au
WLM: documentunknown@hotmail.com
irgeek wrote:
Have you tried creating a subfolder under and empty parent folder?


Thanks for your response James, but I am unable to create a subfolder if I try to create one in an empty folder either.

G


Top
   
 Post subject:
PostPosted: Thu Jan 24, 2008 10:44 am 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
If I recall correctly, Postfix defaults to mbox delivery (there's nothing in your main.cf to override this) and if you are using the mbox mail storage format, Dovecot won't do subfolders. You need to switch to the maildir storage format (and convert your existing mbox data).

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Thu Jan 24, 2008 12:02 pm 
Offline
Senior Member

Joined: Fri Dec 07, 2007 1:37 am
Posts: 385
Location: NC, USA
I have postfix/dovecot running with .maildir format, and I can confirm that it lets me create subfolders for IMAP accounts. When I look directly in the maildir they are stored in the base directory, but in Thunderbird they look and act just like subfolders.

Code:
 ~/.maildir $ ls -a
.  ..  .Sent  .Trash  .test  .test.testsub  cur ...


HTH


Top
   
 Post subject:
PostPosted: Thu Jan 24, 2008 3:10 pm 
Offline
Junior Member

Joined: Sun Dec 02, 2007 1:17 am
Posts: 27
Website: http://www.nabber.org
I think I have the same dovecot/mbox setup as you. How I've created subfolders is by using the shell command mkdir. I don't think you can make subfolder changes like that via IMAP unless you switch to maildir.


Top
   
 Post subject:
PostPosted: Wed Feb 13, 2008 6:11 pm 
Offline
Newbie

Joined: Wed Feb 13, 2008 6:05 pm
Posts: 2
Dovecot is strange, but easy as hell to get SMTP auth, which is why I use it. Anyway, if your mail forder is named "mail", then its subfolders must be hidden (dot) files named ".mail.*" . So if mail has a Spam folder and Trash folder, they must reside in the "mail" directory with the names .mail.Spam and .mail.Trash.


Top
   
 Post subject:
PostPosted: Thu Feb 14, 2008 12:48 am 
Offline
Senior Member
User avatar

Joined: Sun Feb 08, 2004 7:18 pm
Posts: 562
Location: Austin
That convention for folder names is not unique to Dovecot; it's a maildir thing. Something like that can't be unique to an MUA because the MTA has to speak it as well.


Top
   
 Post subject:
PostPosted: Wed Feb 27, 2008 12:17 am 
Offline
Newbie

Joined: Wed Feb 13, 2008 6:05 pm
Posts: 2
Xan wrote:
That convention for folder names is not unique to Dovecot; it's a maildir thing. Something like that can't be unique to an MUA because the MTA has to speak it as well.


What? I've been using Courier-IMAP for the past 5-6 years, and just converted to Dovecot. Courier and Dovecot don't share this convention you call a "maildir thing".


Top
   
 Post subject:
PostPosted: Wed Feb 27, 2008 1:08 am 
Offline
Senior Member
User avatar

Joined: Sun Feb 08, 2004 7:18 pm
Posts: 562
Location: Austin
Maildir++, a minor extension to Maildir, was first implemented in the Courier MTA in 1998.

So if anything, it's a Courier-specific thing. (But it isn't, it's widely supported, as you are illustrating.)


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