On Mon, Aug 13, 2007 at 10:30:11PM +0100, MJ Ray wrote:
Chris G cl@isbd.net wrote:
On Mon, Aug 13, 2007 at 08:14:31PM +0100, MJ Ray wrote:
That's working exactly as specified - Maildir subfolder directory names must begin with a "." [...]
I don't think there is *any* requirement for maildir sub-folders to start with '.', it's a Courier thing, not a maildir thing. [...]
Think what you like, but at least Dovecot seems to share the requirement. As you note, basic maildir seems not to allow folders at all. The Python class seems to be using Courier maildir. It wouldn't be the first time mutt coped with stuff that doesn't follow specs.
There's no reason, in this case, that it should "follow spec", in mutt you *tell* it where the mail dirs are.... unless you're using imap, at which point the imap server tells you what's available. It's not a mutt bug, it's an IMAP server bug, except, of course, it isn't. Becuase the sysadmin tells you which imap server you're running, and how the mail folders will be named on the server.
Don't pick on mutt when it's not it's fault, dear boy. It's purely the fault of IMAP servers deciding that folders and subfolders begin with ".". For instance, the dovecot server that I get my mail from has a set of folders starting with ., for convienience to my sanity, I have symlinks to those folders without the starting "." and tell mutt where the folders are, and when I use offlineimap, even INBOX ends up in it's own directory INBOX, and then the config really doesn't want starting "." because offlineimap has named them without the starting ".".
Sheesh - you tell something where to find it's Maildirs and then expect it to ignore them to follow some undefined spec?! You're all damned crazy!
Python purely follows the most wide spread "spec" of the lot, i.e. Maildir subfolders will begin with a ., and inside those folders could be more folders.
Simple, really.
You want it to know different, discount new,cur,tmp and read the directory names from the Maildir for other Maildirs hanging underneath, it's not rocket science.
Cheers,