<div> </div>
<div> </div>
<div> </div>
<div>Tried </div>
<div>sam user.diego diego lrswipcda</div>
<div> </div>
<div>No luck</div>
<div> </div>
<div>I created a couple of new folders and they work just fine. Copied some mails to those folders and no problem.</div>
<div>permissions to those folders are exactly the same as everything under /var/spool/imap</div>
<div> </div>
<div> </div>
<div>>lam user.craig<br>>craig lrswipcda<br>>cyrus lrswipcda<br><br>>and if necessary (i.e. craig doesn't have lrswipcda rights)<br>>sam user.craig craig lrswipcda</div>
<div> </div>
<div> </div>
<div> </div>
<div><br>On Tue, Mar 9, 2010 at 4:05 AM, Simon Matter <<a href="mailto:simon.matter@invoca.ch">simon.matter@invoca.ch</a>> wrote:<br><br>> > Hi everyone,<br>> ><br>> > Im having a really bad time restoring my imap server.<br>
> ><br>> > My cyrus server discs died and I was just able to recover some of the<br>> > data.<br>> > I have almost everything from /var/spool/imap but none from /var/lib/imap<br>> ><br>> > Thus I copy just one user's mailbox for testing. I created that user<br>
> again<br>> > with cyradm, then copied all messages to its<br>> > /var/spool/imap/f/user/foouser<br>> > folder. Run reconstruct for that mailbox.<br>> > So far so good. Now, when trying to check mails both from outlook and<br>
> > thunderbird I cant see any messages.<br>> ><br>> > Both partiions have permissions set. chown -R cyrus.mail . chmod -R 750<br>> ><br>> > Apparently, clients are looking where they should. I get these lines on<br>
> > maillog when I ty to browse a folder:<br>> > open: user xxx opened INBOX.folder<br>> > open: user xxx opened INBOX.folder2<br>> ><br>> > No messages are shown though but all files are on those mail folders. Ive<br>
> > run every database or mailbox reconstruction utility with no success.<br>><br><br><br><br>> Do you see the following files in /var/spool/imap/f/user/foouser<br>> cyrus.cache<br>> cyrus.header<br>> cyrus.index<br>
><br>><br> Yes, The cyrus files are there on each folder-<br><br><br><br>> and in /var/lib/imap/user/f/<br>> foouser.seen<br>> foouser.sub<br>><br>> Also there.<br><br><br>> And did you use the -f option with reconstruct?<br>
><br>><br><br>Yes, I did<br><br>Just used ctl_mboxlist -d to see if the user's mailboxes were actually in<br>mailboxes.db and yes they are.<br>Dont have a clue about what to do now.if you restore from a backup, you have to make sure that the 'user' has<br>
sufficient ACL rights. Typically, this is done with cyradm.<br><br></div>