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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/alias2/cyrus.index
> ./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/alias2/cyrus.index
> bash-3.2$ ls -l
> ./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/alias2/cyrus.index
> -rw------- 1 kolab-r kolab-r 176 Oct 24 11:46
> ./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/alias2/cyrus.index
> bash-3.2$ rm  ./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/alias2/cyrus.index
> bash-3.2$ cyrreconstruct -r -f user/catchall.mydomain.loc@xxxxxxxxxxxx
> user/catchall.mydomain.loc@xxxxxxxxxxxx
> bash-3.2$ ls -l
> ./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/alias2/cyrus.index
> ls: ./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/alias2/cyrus.index:
> No such file or directory
> bash-3.2$ cyrreconstruct -r -f user/catchall.mydomain.loc/*@mydomain.loc
> user/catchall.mydomain.loc/alias1@xxxxxxxxxxxx
> user/catchall.mydomain.loc/alias2@xxxxxxxxxxxx
> user/catchall.mydomain.loc/aspineux@xxxxxxxxxxxx
> user/catchall.mydomain.loc/candidate1@xxxxxxxxxxxx
> user/catchall.mydomain.loc/candidate2@xxxxxxxxxxxx
> user/catchall.mydomain.loc/donald.duck@xxxxxxxxxxxx
> user/catchall.mydomain.loc/j.smith@xxxxxxxxxxxx
> user/catchall.mydomain.loc/mickey.mouse@xxxxxxxxxxxx
> user/catchall.mydomain.loc/titi@xxxxxxxxxxxx
> user/catchall.mydomain.loc/win.money@xxxxxxxxxxxx
> user/catchall.mydomain.loc/yoyo@xxxxxxxxxxxx
> bash-3.2$ ls -l
> ./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/alias2/cyrus.index
> -rw------- 1 kolab-r kolab-r 176 Oct 24 11:53
> ./spool/domain/m/mydomain.loc/c/user/catchall^mydomain^loc/alias2/cyrus.index
> 

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux