2.4.7 mailbox rename looses mail

2011-04-05 Thread Wolfgang Breyha
Hi!

If I do the following within Thunderbird 3.1.9:
*) create a folder test
*) create a subfolder within test called test2
*) copy a message to test
*) copy a message to test2
*) rename test to testx

the result in thunderbird is:
*) a folder testx with subfolder test2
*) both are *empty*

a reconstruct is needed to make them visible again:
$ reconstruct -r user..testx
user..testx uid 1 found - adding
user..testx
user..testx.test2 uid 1 found - adding
user..testx.test2

Renaming a folder again before reconstructing it wipes the message files from
disc.

I filed a bug:
http://bugzilla.cyrusimap.org/show_bug.cgi?id=3434

Regards, Wolfgang
-- 
Wolfgang Breyha wbre...@gmx.net | http://www.blafasel.at/
Vienna University Computer Center | Austria


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Error undeleting a mailbox (2.3.x)

2011-04-05 Thread Adam Tauno Williams
v2.3.14-Invoca-RPM-2.3.14-8

So I have the deleted mailboxes...

localhost.localdomain lm DELETED.user.ngeorge.%
DELETED.user.ngeorge.4D921838 (\HasNoChildren)
DELETED.user.ngeorge.ALLIANCE INTERIORS (\NonExistent \Noselect
\HasChildren)
DELETED.user.ngeorge.BHARAT (\NonExistent \Noselect \HasChildren)
DELETED.user.ngeorge.Bridgewater (\NonExistent \Noselect \HasChildren)
...

I can renm DELETED.user.ngeorge.4D921838 user.ngeorge which seems to
restore the mailbox.  But renm DELETED.user.ngeorge.JLL
user.ngeorge.JLL fails with renamemailbox: Mailbox does not exist.

Is this a bug, failure, or am I missing something obvious?


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Re: Error undeleting a mailbox (2.3.x)

2011-04-05 Thread Adam Tauno Williams
On Tue, 2011-04-05 at 14:36 -0400, Adam Tauno Williams wrote:
 v2.3.14-Invoca-RPM-2.3.14-8
 So I have the deleted mailboxes...
 localhost.localdomain lm DELETED.user.ngeorge.%
 DELETED.user.ngeorge.4D921838 (\HasNoChildren)
 DELETED.user.ngeorge.ALLIANCE INTERIORS (\NonExistent \Noselect
 \HasChildren)
 DELETED.user.ngeorge.BHARAT (\NonExistent \Noselect \HasChildren)
 DELETED.user.ngeorge.Bridgewater (\NonExistent \Noselect \HasChildren)
 ...
 I can renm DELETED.user.ngeorge.4D921838 user.ngeorge which seems to
 restore the mailbox.  But renm DELETED.user.ngeorge.JLL
 user.ngeorge.JLL fails with renamemailbox: Mailbox does not exist.
 Is this a bug, failure, or am I missing something obvious?

Huh, the names seemed to have changed.  Once I restored the mailbox they
became...
DELETED.user.ngeorge.ALLIANCE INTERIORS.4D8D1D34 (\HasNoChildren)
DELETED.user.ngeorge.BHARAT.4D8D1D34 (\HasNoChildren)
DELETED.user.ngeorge.Bridgewater.4D8D1D34 (\HasNoChildren) 
...

My mistake.


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Re: 2.4.7 mailbox rename looses mail

2011-04-05 Thread Bron Gondwana
On Tue, Apr 05, 2011 at 05:45:11PM +0200, Wolfgang Breyha wrote:
 Hi!
 
 If I do the following within Thunderbird 3.1.9:
 *) create a folder test
 *) create a subfolder within test called test2
 *) copy a message to test
 *) copy a message to test2
 *) rename test to testx
 
 the result in thunderbird is:
 *) a folder testx with subfolder test2
 *) both are *empty*
 
 a reconstruct is needed to make them visible again:
 $ reconstruct -r user..testx
 user..testx uid 1 found - adding
 user..testx
 user..testx.test2 uid 1 found - adding
 user..testx.test2
 
 Renaming a folder again before reconstructing it wipes the message files from
 disc.
 
 I filed a bug:
 http://bugzilla.cyrusimap.org/show_bug.cgi?id=3434

Thanks - looking at it now!

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Re: 2.4.7 mailbox rename looses mail

2011-04-05 Thread Bron Gondwana
On Tue, Apr 05, 2011 at 05:45:11PM +0200, Wolfgang Breyha wrote:
 Hi!
 
 If I do the following within Thunderbird 3.1.9:
 *) create a folder test
 *) create a subfolder within test called test2
 *) copy a message to test
 *) copy a message to test2
 *) rename test to testx

I'm doing the same steps in Thunderbird here...
 
 the result in thunderbird is:
 *) a folder testx with subfolder test2
 *) both are *empty*
 
 a reconstruct is needed to make them visible again:
 $ reconstruct -r user..testx
 user..testx uid 1 found - adding
 user..testx
 user..testx.test2 uid 1 found - adding
 user..testx.test2
 
 Renaming a folder again before reconstructing it wipes the message files from
 disc.

Apr  5 21:10:10 localhost test_slot2_19631/imap[19703]: auditlog: create 
sessionid=test_slot2_19631-19703-1302030605-1 mailbox=user.foo.testx 
uniqueid=109851164d9b6912
Apr  5 21:10:10 localhost test_slot2_19631/imap[19703]: auditlog: rename 
sessionid=test_slot2_19631-19703-1302030605-1 oldmailbox=user.foo.test 
newmailbox=user.foo.testx uniqueid=109851164d9b6912
Apr  5 21:10:10 localhost test_slot2_19631/imap[19703]: Deleted mailbox 
user.foo.test
Apr  5 21:10:10 localhost test_slot2_19631/imap[19703]: auditlog: delete 
sessionid=test_slot2_19631-19703-1302030605-1 mailbox=user.foo.test 
uniqueid=0fdff82b4d9b68f2
Apr  5 21:10:10 localhost test_slot2_19631/imap[19703]: Remove of supposedly 
empty directory /tmp/ct-slot2/data/user/foo/test failed: Directory not empty
Apr  5 21:10:10 localhost test_slot2_19631/imap[19703]: Remove of supposedly 
empty directory /tmp/ct-slot2/meta/user/foo/test failed: Directory not empty
Apr  5 21:10:10 localhost test_slot2_19631/imap[19703]: auditlog: create 
sessionid=test_slot2_19631-19703-1302030605-1 mailbox=user.foo.testx.test2 
uniqueid=1246be664d9b6912
Apr  5 21:10:10 localhost test_slot2_19631/imap[19703]: auditlog: rename 
sessionid=test_slot2_19631-19703-1302030605-1 
oldmailbox=user.foo.test.test2 newmailbox=user.foo.testx.test2 
uniqueid=1246be664d9b6912
Apr  5 21:10:10 localhost test_slot2_19631/imap[19703]: Deleted mailbox 
user.foo.test.test2
Apr  5 21:10:10 localhost test_slot2_19631/imap[19703]: auditlog: delete 
sessionid=test_slot2_19631-19703-1302030605-1 mailbox=user.foo.test.test2 
uniqueid=1149e9af4d9b68f6


root@launde:~# /usr/cyrus/bin/reconstruct  -C /tmp/ct-slot2/etc/imapd.conf -G 
-r user/foo
user/foo
user/foo/Drafts
user/foo/Sent Items
user/foo/Trash
user/foo/another
user/foo/testx
user/foo/testx/test2

Nothing complained about there - and it worked fine.  This is with 2.4.7 fresh 
checkout
from git, and using thunderbird.

Apart from those spurious errors about trying to remove an empty directory that
isn't actually empty, I don't see anything wrong here!  I can successfully view
the two messages that I copied into each folder.

So the question is: what's your config?  What have you done differently that
could have broken this?  Are you running any patches, or vanilla 2.4.7?

Bron.

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


murder and mailbox rename

2011-04-05 Thread Antonio
hi all,

I've configured 4 imap server as murder frontend/backend unified with
one murder server. All seem to work, but when users rename a mailbox
on the same backend the mails disappear, and I've to rebuild the maildir
loosing all flags.

There is some thing to configure or to check on unified or on murder ?

tanks in advance

Antonio

-- 
Never try to teach a pig to sing.
It wastes your time and annoys the pig.

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Re: murder and mailbox rename

2011-04-05 Thread Simon Matter
 hi all,

 I've configured 4 imap server as murder frontend/backend unified with
 one murder server. All seem to work, but when users rename a mailbox
 on the same backend the mails disappear, and I've to rebuild the maildir
 loosing all flags.

 There is some thing to configure or to check on unified or on murder ?

Maybe what you see is related to this?
http://asg.andrew.cmu.edu/archive/message.php?mailbox=archive.info-cyrusmsg=52544

Simon


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/