Re: reconstruct doing nothing

2008-04-10 Thread Gabor Gombas
Hi, Sorry I missed this e-mail in my INBOX... On Tue, Mar 25, 2008 at 12:29:14PM -0700, Jo Rhett wrote: > Gabor, it appears by light perusal that your patch would fix the > original bug report for this problem: https://bugzilla.andrew.cmu.edu/ > show_bug.cgi?id=2894 Yes, it seems to be the s

RE: reconstruct doing nothing

2008-04-01 Thread Bart Coninckx
>On Mon, 31 Mar 2008, Bart Coninckx wrote: >> Can 't help put thinking that this is a load of work. Hopefully the >> developpers will write some tools to simplify the restore procedure. >If you run with expunge_mode:delayed, it's as simple as using the >unexpunge command. :) >After you restore

Re: reconstruct doing nothing

2008-04-01 Thread Alain Spineux
On Tue, Apr 1, 2008 at 3:42 AM, Jo Rhett <[EMAIL PROTECTED]> wrote: > >> *sigh* No, not in a virtual domain environment they don't. Try > >> adding > >> > >> 13a. Run "su cyrus -c '/usr/local/cyrus/bin/reconstruct -x -f > >> user.username/*'". > >> 13b. Run "su cyrus -c '/usr/local/cyrus/bin

Re: reconstruct doing nothing

2008-03-31 Thread Jo Rhett
>> *sigh* No, not in a virtual domain environment they don't. Try >> adding >> >> 13a. Run "su cyrus -c '/usr/local/cyrus/bin/reconstruct -x -f >> user.username/*'". >> 13b. Run "su cyrus -c '/usr/local/cyrus/bin/reconstruct -x -f >> user.username/*/*'". >> 13c. Run "su cyrus -c '/usr/local

RE: reconstruct doing nothing

2008-03-31 Thread Andrew Morgan
On Mon, 31 Mar 2008, Bart Coninckx wrote: > Can 't help put thinking that this is a load of work. Hopefully the > developpers will write some tools to simplify the restore procedure. If you run with expunge_mode:delayed, it's as simple as using the unexpunge command. :) After you restore the r

Re: reconstruct doing nothing

2008-03-31 Thread Andrew Morgan
On Fri, 28 Mar 2008, Jo Rhett wrote: > On Mar 28, 2008, at 4:24 PM, Andrew Morgan wrote: >> These are the exact steps I follow when I recover email for a user from our >> tape backups: >> >> 13. Run "su cyrus -c '/usr/local/cyrus/bin/reconstruct -x -f >> user.username'". >> 14. Run "su cyru

RE: reconstruct doing nothing

2008-03-31 Thread Bart Coninckx
On Mar 29, 2008 12:24 AM, Andrew Morgan <[EMAIL PROTECTED]> wrote: >On Fri, 28 Mar 2008, Bart Coninckx wrote: > >>>Add "/*" and "/*/*" to the reconstruction path and it works. Gabor's >>>patch might also work for you. (I haven't tested yet) >> >>>Tom Bryntesen wrote: Hi, What's the co

Re: reconstruct doing nothing

2008-03-28 Thread Jo Rhett
On Mar 28, 2008, at 4:24 PM, Andrew Morgan wrote: > These are the exact steps I follow when I recover email for a user > from our tape backups: > > 13. Run "su cyrus -c '/usr/local/cyrus/bin/reconstruct -x -f > user.username'". > 14. Run "su cyrus -c '/usr/local/cyrus/bin/quota -f user.use

RE: reconstruct doing nothing

2008-03-28 Thread Andrew Morgan
On Fri, 28 Mar 2008, Bart Coninckx wrote: >> Add "/*" and "/*/*" to the reconstruction path and it works. Gabor's >> patch might also work for you. (I haven't tested yet) > >> Tom Bryntesen wrote: >>> Hi, >>> >>> What's the conclusion on this problem? Anyone? I'm also struggling trying to >>> rec

RE: reconstruct doing nothing

2008-03-28 Thread Bart Coninckx
>Add "/*" and "/*/*" to the reconstruction path and it works. Gabor's >patch might also work for you. (I haven't tested yet) >Tom Bryntesen wrote: >> Hi, >> >> What's the conclusion on this problem? Anyone? I'm also struggling trying to >> recreate a users e-mails... >> Running: Cyrus v2.2.12-

Re: reconstruct doing nothing

2008-03-27 Thread Jo Rhett
Alain Spineux" <[EMAIL PROTECTED]>; "Rudy Gevaert" > <[EMAIL PROTECTED]> > Cc: "Bart Coninckx" <[EMAIL PROTECTED]>; "Info Cyrus" > > Sent: Saturday, March 22, 2008 10:46 PM > Subject: Re: reconstruct doing nothing > > >&g

Re: reconstruct doing nothing

2008-03-27 Thread Tom Bryntesen
ndwana" <[EMAIL PROTECTED]> To: "Alain Spineux" <[EMAIL PROTECTED]>; "Rudy Gevaert" <[EMAIL PROTECTED]> Cc: "Bart Coninckx" <[EMAIL PROTECTED]>; "Info Cyrus" Sent: Saturday, March 22, 2008 10:46 PM Subject: Re: reconstruct doing

Re: reconstruct doing nothing

2008-03-25 Thread Rudy Gevaert
Jo Rhett wrote: > Did this truly fix the problem? If so, when will 2.3.12 ship? > Maybe soon, as can is updating the copyright statements in CVS :) Rudy -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Rudy Gevaert [EMAIL PROTECTED] tel:+32 9 264

Re: reconstruct doing nothing

2008-03-25 Thread Jo Rhett
On Mar 21, 2008, at 8:26 AM, Gabor Gombas wrote: > On Fri, Mar 21, 2008 at 03:05:22PM +0100, Rudy Gevaert wrote: > >>> su cyrus “/usr/lib/cyrus/bin/reconstruct –r user.testuser" the >>> cyrus.* >>> files are not changed at all! I tried several things like logging in >>> with the cyrus user first

Re: reconstruct doing nothing

2008-03-22 Thread Bron Gondwana
On Sat, 22 Mar 2008 11:29:36 +0100, "Alain Spineux" <[EMAIL PROTECTED]> said: > On Fri, Mar 21, 2008 at 8:59 PM, Rudy Gevaert <[EMAIL PROTECTED]> > wrote: > > Gabor Gombas wrote: > > > On Fri, Mar 21, 2008 at 04:57:18PM +0100, Bart Coninckx wrote: > > > > > >> Gabor, is this patch relevant when

Re: reconstruct doing nothing

2008-03-22 Thread Alain Spineux
On Sat, Mar 22, 2008 at 1:31 PM, Sebastian Hagedorn <[EMAIL PROTECTED]> wrote: > -- Alain Spineux <[EMAIL PROTECTED]> is rumored to have mumbled on 22. > März 2008 11:29:36 +0100 regarding Re: reconstruct doing nothing: > > > > Conclusion > > ===

Re: reconstruct doing nothing

2008-03-22 Thread Sebastian Hagedorn
-- Alain Spineux <[EMAIL PROTECTED]> is rumored to have mumbled on 22. März 2008 11:29:36 +0100 regarding Re: reconstruct doing nothing: Conclusion - -r looks to be useless - -f discover yet unknow folder, recursively too, but only inside new folder, not if already known, us

Re: reconstruct doing nothing

2008-03-22 Thread Alain Spineux
On Fri, Mar 21, 2008 at 8:59 PM, Rudy Gevaert <[EMAIL PROTECTED]> wrote: > Gabor Gombas wrote: > > On Fri, Mar 21, 2008 at 04:57:18PM +0100, Bart Coninckx wrote: > > > >> Gabor, is this patch relevant when I do get a result onscreen from > >> "reconstruct"? > > > > Without the patch, "reconst

Re: reconstruct doing nothing

2008-03-21 Thread Rudy Gevaert
Gabor Gombas wrote: > On Fri, Mar 21, 2008 at 04:57:18PM +0100, Bart Coninckx wrote: > >> Gabor, is this patch relevant when I do get a result onscreen from >> "reconstruct"? > > Without the patch, "reconstruct -r" processes only the exact mailbox > given on the command line but does not descend

Re: reconstruct doing nothing

2008-03-21 Thread Gabor Gombas
On Fri, Mar 21, 2008 at 04:57:18PM +0100, Bart Coninckx wrote: > Gabor, is this patch relevant when I do get a result onscreen from > "reconstruct"? Without the patch, "reconstruct -r" processes only the exact mailbox given on the command line but does not descend into subfolders, like when the "

RE: reconstruct doing nothing

2008-03-21 Thread Bart Coninckx
>Hi Bart, >I think >su cyrus -c "/usr/lib/cyrus/bin/reconstruct -rfx >user/[EMAIL PROTECTED]" >Should be su cyrus -c "/usr/lib/cyrus/bin/reconstruct -rfx >user/[EMAIL PROTECTED]" >Or su cyrus -c "/usr/lib/cyrus/bin/reconstruct -rfx >user/[EMAIL PROTECTED]" >Regards, >Tom Tom, All result int

RE: reconstruct doing nothing

2008-03-21 Thread Bart Coninckx
>Try the patch at https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=3028 >Gabor Gabor, is this patch relevant when I do get a result onscreen from "reconstruct"? Bart Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http:/

RE: reconstruct doing nothing

2008-03-21 Thread Bart Coninckx
>What cyrus version? I'm using 2.3.10. >Also note that it is not because reconstruct tells you a thing it isn't >doing a thing. >E.g. if the folders are already in the mailboxes.db file then it won't >tell you a thing. It should say 'discovered new folder' for new a new >folder. >Did you al

RE: reconstruct doing nothing

2008-03-21 Thread Tom Myny
ds, Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bart Coninckx Sent: vrijdag 21 maart 2008 15:28 To: 'Rudy Gevaert' Cc: info-cyrus@lists.andrew.cmu.edu Subject: RE: reconstruct doing nothing >If you are using the unix hierarchy seperator, you

Re: reconstruct doing nothing

2008-03-21 Thread Gabor Gombas
On Fri, Mar 21, 2008 at 03:05:22PM +0100, Rudy Gevaert wrote: > > su cyrus “/usr/lib/cyrus/bin/reconstruct –r user.testuser" the cyrus.* > > files are not changed at all! I tried several things like logging in > > with the cyrus user first and then issuing the command, or using "-rfx" > > but n

RE: reconstruct doing nothing

2008-03-21 Thread Bart Coninckx
>What cyrus version? I'm using 2.3.10. cyrus-imapd-2.2.3-83.35 Old stuff, but I'm somewhat reluctant to upgrade ... >Also note that it is not because reconstruct tells you a thing it isn't >doing a thing. Obviously :-) the verboseness of reconstruct is somewhat shortcoming if you ask me. >

Re: reconstruct doing nothing

2008-03-21 Thread Rudy Gevaert
Bart Coninckx wrote: >> touch cyrus.header >> :) >> chown cyrus:mail cyrus.yeader > > :-D > > Since other cyrus.header files are binary files, this didn't look obvious to > me ... > > Just deleted cyrus.*, touched cyrus.header with the correct ownerships and > did "/usr/lib/cyrus/bin/reconstruct

RE: reconstruct doing nothing

2008-03-21 Thread Bart Coninckx
>touch cyrus.header >:) >chown cyrus:mail cyrus.yeader :-D Since other cyrus.header files are binary files, this didn't look obvious to me ... Just deleted cyrus.*, touched cyrus.header with the correct ownerships and did "/usr/lib/cyrus/bin/reconstruct -rfx user/[EMAIL PROTECTED]", but nothing.

RE: reconstruct doing nothing

2008-03-21 Thread Bart Coninckx
>it's normally user/[EMAIL PROTECTED] >Depending on what you are restoring it is advisable to remove all >cyrus.* files in the the folders. And recreating only the cyrus.header >file. (Mind the permissions.) >Good luck. >(I always spend to much time on reconstruct too.) >Rudy Rudy, Any h

Re: reconstruct doing nothing

2008-03-21 Thread Rudy Gevaert
Bart Coninckx wrote: >> it's normally user/[EMAIL PROTECTED] > >> Depending on what you are restoring it is advisable to remove all >> cyrus.* files in the the folders. And recreating only the cyrus.header >> file. (Mind the permissions.) > >> Good luck. > >> (I always spend to much time on

RE: reconstruct doing nothing

2008-03-21 Thread Bart Coninckx
>You used a ^ instead of a . between first and last name ! >try > su cyrus -c "/usr/lib/cyrus/bin/reconstruct -rfx >user/[EMAIL PROTECTED]" Hi, I used "^" because that's how user foldernames are displayed. "reconstruct" does run through the folderstructure however with " hiddenfirstname^hidden

Re: reconstruct doing nothing

2008-03-21 Thread Alain Spineux
On Fri, Mar 21, 2008 at 3:27 PM, Bart Coninckx <[EMAIL PROTECTED]> wrote: > >If you are using the unix hierarchy seperator, you need to use > >reconstruct -r user/testuser. > > >Or user/[EMAIL PROTECTED] if you are using virtual domains. Also make > >sure that the files are chown cyrus:mail (or

RE: reconstruct doing nothing

2008-03-21 Thread Bart Coninckx
>If you are using the unix hierarchy seperator, you need to use >reconstruct -r user/testuser. >Or user/[EMAIL PROTECTED] if you are using virtual domains. Also make >sure that the files are chown cyrus:mail (or whatever uid/guid you are >using). Rudy, It was the virtual domain-thing. You're

RE: reconstruct doing nothing

2008-03-21 Thread Bart Coninckx
>If you are using the unix hierarchy seperator, you need to use >reconstruct -r user/testuser. >Or user/[EMAIL PROTECTED] if you are using virtual domains. Also make >sure that the files are chown cyrus:mail (or whatever uid/guid you are >using). >You can run strace reconstruct ... that will

Re: reconstruct doing nothing

2008-03-21 Thread Rudy Gevaert
Bart Coninckx wrote: > Hi all, > > > > By now I’ve spent quite some time in trying to get the “reconstruct” > command working and it’s close to driving me crazy, because it just wont ... > > su cyrus “/usr/lib/cyrus/bin/reconstruct –r user.testuser" the cyrus.* > files are not changed at a

Re: reconstruct doing nothing

2008-03-21 Thread Alain Spineux
On Fri, Mar 21, 2008 at 11:18 AM, Bart Coninckx <[EMAIL PROTECTED]> wrote: > > > > > Hi all, > > > > By now I've spent quite some time in trying to get the "reconstruct" command > working and it's close to driving me crazy, because it just wont go. > > Perhaps some background info: > > I use two cl