[Dovecot] still getting weird .{inbox} folder creations with latest -test7
Hi,
I am still getting strange creation and mailbox lookups from
0.99.11-test7.
dovecot creates in ~/Maildir/ .INBOX/ .imap.index .imap.index.cache .imap.index.log .customflags dovecot-uidlist
.INBOX seems to be a reference to ~/Maildir/{cur,new,tmp} yet I cannot get an IMAP client uo pick up my other maildir, located at ~/Maildir/mi/{cur,new,tmp}.
In Apple's Mail.app, it picks up a file called ~/Maildir/.procmaillog as if it were a maildir directory! This is with the Mail.app preference for "IMAP Path Prefix" set to null.
mutt just seems plain confused. I have these settings:
# imap styleee set folder=imap://yeled@lazy.spodder.com/ set mbox=imap://yeled@lazy.spodder.com/mbox set record=imap://yeled@lazy.spodder.com/sent set postponed=imap://yeled@lazy.spodder.com/postponed set spoolfile=imap://yeled@lazy.spodder.com/ set certificate_file=~/.mutt/certificates set mail_check=10 set timeout=10 set imap_home_namespace="" set imap_pass="foo"
I have included the tcpflow files to show what the clients are doing.. Is it normal to search for folders starting with "." ? Why won't it just pick up my normally nested maildir folders?
C.
charlie@rubberduck.com - http://rubberduck.com/~yeled/
On Thu, 2003-09-04 at 15:37, Charlie Allom wrote:
Hi,
I am still getting strange creation and mailbox lookups from 0.99.11-test7.
dovecot creates in ~/Maildir/ .INBOX/ .imap.index .imap.index.cache .imap.index.log .customflags dovecot-uidlist
.INBOX seems to be a reference to ~/Maildir/{cur,new,tmp} yet I cannot get an IMAP client uo pick up my other maildir, located at ~/Maildir/mi/{cur,new,tmp}.
I think you want to name your subfolders with a "." in front of them; it's mentioned in the documentation somewhere. So you'd have ~/Maildir/.mi/{cur,new,tmp} - try creating a folder in an IMAP email client and you should notice this behaviour.
-- Grahame Bowland Email: grahame@ucs.uwa.edu.au University Communications Services Phone: +61 8 9380 1175 The University of Western Australia Fax: +61 8 9380 1109 CRICOS: 00126G
On Thu, Sep 04, 2003 at 04:28:43PM +0800, Grahame Bowland wrote:
On Thu, 2003-09-04 at 15:37, Charlie Allom wrote:
I think you want to name your subfolders with a "." in front of them; it's mentioned in the documentation somewhere. So you'd have ~/Maildir/.mi/{cur,new,tmp} - try creating a folder in an IMAP email client and you should notice this behaviour.
Thanks I'm half way to rearranging my procmailrc to set this up - But i'd prefer not to.
Is this an RFC thing or just historically set to create .dotfile mailboxes?
C.
charlie@myinternet.com.au - http://rubberduck.com/~yeled/
On Thu, 2003-09-04 at 11:53, Charlie Allom wrote:
Is this an RFC thing or just historically set to create .dotfile mailboxes?
That's how Courier-compatible Maildir++ works. If you want subfolders, you'd create ".sub.folder.name". There's a few good things with this:
- There's no namespace conflicts since only mailboxes begin with dot. You can create eg. "new" mailbox.
- Listing all mailboxes is fast since everything is in one directory
CVS has been optimized to assume all files beginning with a dot (except .subscriptions currently) are mailboxes. This is faster since it doesn't have to stat() each file to figure out if it's a directory or not. Perhaps that should be optional. New Linux systems (maybe others too) wouldn't actually even need the stat()..
I'll probably some day also add support for dotless directory-structured mailbox locations, but it's not really high priority.
On Thu, Sep 04, 2003 at 02:06:39PM +0300, Timo Sirainen wrote:
That's how Courier-compatible Maildir++ works. If you want subfolders, you'd create ".sub.folder.name". There's a few good things with this:
Great! Thanks for this.
CVS has been optimized to assume all files beginning with a dot (except .subscriptions currently) are mailboxes.
Ah I see.
Cheers Timo..
C.
charlie@rubberduck.com - http://rubberduck.com/~yeled/
participants (4)
-
Charlie Allom
-
Charlie Allom
-
Grahame Bowland
-
Timo Sirainen