On Tue, 2008-06-24 at 13:59 -0500, Kyle Wheeler wrote:
I've been playing around with using namespaces to change the way messages are stored. My idea was to use mbox for archival stuff, like this:
namespace private { separator = . hidden = no inbox = yes prefox = location = maildir:%h/Maildir } namespace private { separator = . hidden = no prefix = "INBOX.Archive." location = mbox:%h/Maildir/Archive }
.. ? SELECT "INBOX.Archive.Friends.gz" ? NO Mailbox doesn't exist: Friends/gz
I'd just suggest switching separator to '/' and this problem goes away.
Then I remembered that in the ChangeLog, back in May, the zlib plugin was changed to look for the zlib header rather than the Z flag. I assume that was for using it with Maildirs, but I figured it was worth a shot. So I renamed the Friends.gz file to remove the extension. But that just gives me an error message:
? SELECT "INBOX.Archive.Friends" ? NO Mailbox isn't a valid mbox file
For mbox detecting this by reading the file header would be extra disk I/O (since often the file hasn't changed and Dovecot never has to open/read the file).