Cyrreconstruct corrupting mailbox.. How do I use it ?

Kevin Baker kevbaker at yahoo.com
Thu Nov 17 23:58:12 CET 2005



--- Kevin Baker <kevbaker at yahoo.com> wrote:

> 
> 
> --- Bernhard Reiter <bernhard.reiter at intevation.de>
> wrote:
> 
> > Hi Kevin,
> > 
> > did you meanwhile solve the error?
> YES!!! So I have been working at this for a couple weeks
> now. I have pretty much cornered how all this works. 
> 
> Basically doing anything outside of Kolab admin that
> requires command line, means you need to focus on every
> last detail, especially file permissions. I have found
> that
> if the perms are off at all things don't work
> consistantly.
> Once that is set it works great!
> 
> Basically, it has to be like this:
> 
> [perms]
> 
>   > chown -R kolab-r:kolab-r \
>   >   /kolab/var/imap/spool/{DOMAIN}/{USERNAME}
> 
> [mode]
> directories (drwx--S---):
>   > chmod -R chmod a-rwx,g+s,g-x,u+rwx \
>   >   /kolab/var/imap/spool/{DOMAIN}/{USERNAME}
> 
> files including cyrus.* meta files (-rw-------): 
>   > chmod -R chmod a-rwx,u=rw \
>   >   /kolab/var/imap/spool/{DOMAIN}/{USERNAME}
> 
> I wasn't sure how to make command line figure out perms
> of
> dirs vs files.. so I wrote a CLI php script for it. Works
> great!
> 
> 
> So I will be posting my findings on the wiki, plus have
> writting a bunch of CLI tools in PHP, commandline. These
> handle automating fixes for all sorts of things... figure
> that they can maybe work there way into the kolab admins
> at
> some point if people are interested in mailbox
> maintenance
> tools. 
> 
> 
> 
> 
> 
> 
> 
> > I also used cyrreconstruct sucessfully a couple of
> times,
> > so it of course _can_ work.
> > It seems that the folder need to be created somehow
> > and also cyrreconstruct can be picky about the
> parameters
> > it gets.
> > If you still have problems,
> > can you try a cyrreconstruct in a folder that was
> already
> > created
> > and if this does not work, using strace?
> > 
> > Bernhard
> > 
> > Am Montag, 31. Oktober 2005 20:55 schrieb Kevin Baker:
> > > response below
> > 
> > (Better delete as many unneeded lines as possible. Many
> > people
> > will have access to the original email in the thread
> > anyway.)
> > 
> > > > On Monday 31 October 2005 19:19, Kevin Baker wrote:
> > 
> > > >> Why? Reconstruct fails, so I have bad cyrus.header
> > information on all
> > > >> mailboxes.
> > > >>
> > > >> Does anyone have experience successfully using
> > cyrreconstruct with
> > > >> Kolab?
> > 
> > > So I was definitely su'ed in as kolab-r. It still had
> > the problems.
> > 
> > _______________________________________________
> > Kolab-users mailing list
> > Kolab-users at kolab.org
> > https://kolab.org/mailman/listinfo/kolab-users
> > 
> 
> 
> Kevin Baker
> Mission Vi Inc.
> kbaker at missionvi.com
> 858.454.5532
> 
> 
> 	
> 		
> __________________________________ 
> Yahoo! Mail - PC Magazine Editors' Choice 2005 
> http://mail.yahoo.com
> 
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
> 


Kevin Baker
Mission Vi Inc.
kbaker at missionvi.com
858.454.5532


	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com




More information about the users mailing list