List Info

Thread: cyrreconstruct -r -f not working as expected.




cyrreconstruct -r -f not working as expected.
user name
2007-10-24 05:03:57
Hi

Here is what I do.
I have a working imap spool and a mailbox with sub-folder.
I remove the cyrus.index from this sub-folder, run
cyrreconstruct on the mailbox
and expect to have the cyrus.index file rebuild.
But the file is not rebuild.
If I use the * wildcard to include all sub-folder of the
mailbox, then
the file is rebuild.

I dont understand what is '-r' for then.

Any idea ?
A bug or a feature ?



bash-3.2$ ls
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.index
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.index
bash-3.2$ ls -l
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.index
-rw------- 1 kolab-r kolab-r 176 Oct 24 11:46
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.index
bash-3.2$ rm 
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.index
bash-3.2$ cyrreconstruct -r -f
user/catchall.mydomain.locmydomain.loc
user/catchall.mydomain.locmydomain.loc
bash-3.2$ ls -l
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.index
ls:
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.index:
No such file or directory
bash-3.2$ cyrreconstruct -r -f
user/catchall.mydomain.loc/*mydomain.loc
user/catchall.mydomain.loc/alias1mydomain.loc
user/catchall.mydomain.loc/alias2mydomain.loc
user/catchall.mydomain.loc/aspineuxmydomain.loc
user/catchall.mydomain.loc/candidate1mydomain.loc
user/catchall.mydomain.loc/candidate2mydomain.loc
user/catchall.mydomain.loc/donald.duckmydomain.loc
user/catchall.mydomain.loc/j.smithmydomain.loc
user/catchall.mydomain.loc/mickey.mousemydomain.loc
user/catchall.mydomain.loc/titimydomain.loc
user/catchall.mydomain.loc/win.moneymydomain.loc
user/catchall.mydomain.loc/yoyomydomain.loc
bash-3.2$ ls -l
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.index
-rw------- 1 kolab-r kolab-r 176 Oct 24 11:53
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.index

-- 
Alain Spineux
aspineux gmail com
May the sources be with you

_______________________________________________
Kolab-users mailing list
Kolab-userskolab.org
https:
//kolab.org/mailman/listinfo/kolab-users

Re: cyrreconstruct -r -f not working as expected.
country flaguser name
United States
2007-10-24 11:35:36
Alain Spineux wrote:
> Hi
>
> Here is what I do.
> I have a working imap spool and a mailbox with
sub-folder.
> I remove the cyrus.index from this sub-folder, run
cyrreconstruct on the mailbox
> and expect to have the cyrus.index file rebuild.
> But the file is not rebuild.
> If I use the * wildcard to include all sub-folder of
the mailbox, then
> the file is rebuild.
>
> I dont understand what is '-r' for then.
>
> Any idea ?
> A bug or a feature ?
>
>
>
> bash-3.2$ ls
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.index
>
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.index
> bash-3.2$ ls -l
>
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.index
> -rw------- 1 kolab-r kolab-r 176 Oct 24 11:46
>
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.index
> bash-3.2$ rm 
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.index
> bash-3.2$ cyrreconstruct -r -f
user/catchall.mydomain.locmydomain.loc
> user/catchall.mydomain.locmydomain.loc
> bash-3.2$ ls -l
>
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.index
> ls:
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.index:
> No such file or directory
> bash-3.2$ cyrreconstruct -r -f
user/catchall.mydomain.loc/*mydomain.loc
> user/catchall.mydomain.loc/alias1mydomain.loc
> user/catchall.mydomain.loc/alias2mydomain.loc
> user/catchall.mydomain.loc/aspineuxmydomain.loc
> user/catchall.mydomain.loc/candidate1mydomain.loc
> user/catchall.mydomain.loc/candidate2mydomain.loc
> user/catchall.mydomain.loc/donald.duckmydomain.loc
> user/catchall.mydomain.loc/j.smithmydomain.loc
> user/catchall.mydomain.loc/mickey.mousemydomain.loc
> user/catchall.mydomain.loc/titimydomain.loc
> user/catchall.mydomain.loc/win.moneymydomain.loc
> user/catchall.mydomain.loc/yoyomydomain.loc
> bash-3.2$ ls -l
>
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.index
> -rw------- 1 kolab-r kolab-r 176 Oct 24 11:53
>
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.index
>
>   
Same here. I use Kolab 2 (1.99)
and cyrus-imapd-2.2.13
I haven't tired a newer version.
Thomas

_______________________________________________
Kolab-users mailing list
Kolab-userskolab.org
https:
//kolab.org/mailman/listinfo/kolab-users

Re: cyrreconstruct -r -f not working as expected.
country flaguser name
United States
2007-10-29 01:49:08
Recursive reconstruct is broken.  Ken has the bug, but
either can't 
recreate it or hasn't had time to work on it.  Someday it
will annoy me 
enough to dig into the guts of that code 

Alain Spineux wrote:
> Hi
> 
> Here is what I do.
> I have a working imap spool and a mailbox with
sub-folder.
> I remove the cyrus.index from this sub-folder, run
cyrreconstruct on the mailbox
> and expect to have the cyrus.index file rebuild.
> But the file is not rebuild.
> If I use the * wildcard to include all sub-folder of
the mailbox, then
> the file is rebuild.
> 
> I dont understand what is '-r' for then.
> 
> Any idea ?
> A bug or a feature ?
> 
> 
> 
> bash-3.2$ ls
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.index
>
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.index
> bash-3.2$ ls -l
>
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.index
> -rw------- 1 kolab-r kolab-r 176 Oct 24 11:46
>
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.index
> bash-3.2$ rm 
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.index
> bash-3.2$ cyrreconstruct -r -f
user/catchall.mydomain.locmydomain.loc
> user/catchall.mydomain.locmydomain.loc
> bash-3.2$ ls -l
>
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.index
> ls:
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.index:
> No such file or directory
> bash-3.2$ cyrreconstruct -r -f
user/catchall.mydomain.loc/*mydomain.loc
> user/catchall.mydomain.loc/alias1mydomain.loc
> user/catchall.mydomain.loc/alias2mydomain.loc
> user/catchall.mydomain.loc/aspineuxmydomain.loc
> user/catchall.mydomain.loc/candidate1mydomain.loc
> user/catchall.mydomain.loc/candidate2mydomain.loc
> user/catchall.mydomain.loc/donald.duckmydomain.loc
> user/catchall.mydomain.loc/j.smithmydomain.loc
> user/catchall.mydomain.loc/mickey.mousemydomain.loc
> user/catchall.mydomain.loc/titimydomain.loc
> user/catchall.mydomain.loc/win.moneymydomain.loc
> user/catchall.mydomain.loc/yoyomydomain.loc
> bash-3.2$ ls -l
>
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.index
> -rw------- 1 kolab-r kolab-r 176 Oct 24 11:53
>
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.index
> 

_______________________________________________
Kolab-users mailing list
Kolab-userskolab.org
https:
//kolab.org/mailman/listinfo/kolab-users

Re: cyrreconstruct -r -f not working as expected.
country flaguser name
United States
2007-10-29 09:16:09
On Sunday 28 October 2007 23:49, Jo Rhett wrote:
> Recursive reconstruct is broken.  Ken has the bug, but
either can't
> recreate it or hasn't had time to work on it.  Someday
it will annoy me
> enough to dig into the guts of that code 
>
> Alain Spineux wrote:
> > Hi
> >
> > Here is what I do.
> > I have a working imap spool and a mailbox with
sub-folder.
> > I remove the cyrus.index from this sub-folder, run
cyrreconstruct on the
> > mailbox and expect to have the cyrus.index file
rebuild.
> > But the file is not rebuild.
> > If I use the * wildcard to include all sub-folder
of the mailbox, then
> > the file is rebuild.
> >
> > I dont understand what is '-r' for then.
> >
> > Any idea ?
> > A bug or a feature ?
> >
> >
> >
> > bash-3.2$ ls
> >
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.i
> >ndex
> >
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.i
> >ndex bash-3.2$ ls -l
> >
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.i
> >ndex -rw------- 1 kolab-r kolab-r 176 Oct 24 11:46
> >
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.i
> >ndex bash-3.2$ rm 
> >
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.i
> >ndex bash-3.2$ cyrreconstruct -r -f
> > user/catchall.mydomain.locmydomain.loc
> > user/catchall.mydomain.locmydomain.loc
> > bash-3.2$ ls -l
> >
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.i
> >ndex ls:
> >
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.i
> >ndex: No such file or directory
> > bash-3.2$ cyrreconstruct -r -f
user/catchall.mydomain.loc/*mydomain.loc
> > user/catchall.mydomain.loc/alias1mydomain.loc
> > user/catchall.mydomain.loc/alias2mydomain.loc
> > user/catchall.mydomain.loc/aspineuxmydomain.loc
> > user/catchall.mydomain.loc/candidate1mydomain.loc
> > user/catchall.mydomain.loc/candidate2mydomain.loc
> > user/catchall.mydomain.loc/donald.duckmydomain.loc
> > user/catchall.mydomain.loc/j.smithmydomain.loc
> > user/catchall.mydomain.loc/mickey.mousemydomain.loc
> > user/catchall.mydomain.loc/titimydomain.loc
> > user/catchall.mydomain.loc/win.moneymydomain.loc
> > user/catchall.mydomain.loc/yoyomydomain.loc
> > bash-3.2$ ls -l
> >
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.i
> >ndex -rw------- 1 kolab-r kolab-r 176 Oct 24 11:53
> >
./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/a
lias2/cyrus.i
> >ndex
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-userskolab.org
> https:
//kolab.org/mailman/listinfo/kolab-users

Must be a bug upstreams. And it must have been there for a  
while. Mandriva's 
cyrus has the same bug and as far as I know their Kolab
distro uses the 
standard cyrus-imap
Thomas.



-- 
Best regards
Thomas Spuhler

_______________________________________________
Kolab-users mailing list
Kolab-userskolab.org
https:
//kolab.org/mailman/listinfo/kolab-users

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )