On Sun, 16 Feb 2003, Gary wrote:
>On Sun, Feb 16, 2003 at 10:23:55PM +0100 or thereabouts, Andreas Aardal Hanssen wrote:
>> 1.0.23-1 is out! The change log is again long, so here is the link for
>> your convenience:
>> http://www.bincimap.andreas.hanssen.name/dl/ChangeLog
>       It's no longer allowed to create folders called INBOXsomething,
>without the dot.
>This really screwed all my directories... I cannot even create anything
>new in Mulburry, getting an error.. says could not create, invalid
>mailbox... Putting in the new rpm, changed the names of maildirs to, i.e.
>lists.binc  instead of INBOXlists.binc  
>Mulburry will not read it, cann't get Mutt to read it either.. Cannot
>create any new dirs, as mentioned.. Can't read any maildirs that were
>changed over from the new rpm..
>Gary

Sorry about that, Gary, but the fact that you were allowed to create a
mailbox called "INBOXsomething" in 1.0.22 was a bug that had several other
sideeffects, such as allowing the client to delete folder metadata
(uidvalidity and cache).

The fix is to rename the folders called INBOXsomething manually, like 
this:

cd ~/Maildir/
mv something .somthing

Now - the problem you have with being unable to create folders at all - 
that's a bug introduced in this release. It's one line that's wrong in the 
CREATE function and I'm fixing it as we speak. There will be a 1.0.23-2 
release fixing this problem. Here's the patch:

diff -u -r1.13 bincimapd-create.cc
--- src/bincimapd-create.cc     15 Feb 2003 08:15:58 -0000      1.13
+++ src/bincimapd-create.cc     16 Feb 2003 22:58:31 -0000
@@ -77,7 +77,7 @@
   string maildir = toMaildir(mailbox);
   if (maildir == "")
     com << tag << " NO CREATE failed: invalid mailbox" << endl;
-  else if (Maildir::create(maildir, 0777))
+  else if (Maildir::create(mailbox, 0777))
     com << tag << " OK CREATE completed" << endl;
   else
     com << tag << " NO CREATE failed: " << strerror(errno) << endl;

Reply via email to