Re: Recovering crashed cyrus server mailbox

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

 



On Wednesday 10 March 2010 17:48:21 Robert Noll wrote:
> Diego V wrote:
> > As I can see I, having exactly the same problem as Robert. Here some
> > more info on what I did.
> > Please, I really need some help.
> >
> >
> > On Tue, Mar 9, 2010 at 4:05 AM, Simon Matter <simon.matter@xxxxxxxxx
> >
> > <mailto:simon.matter@xxxxxxxxx>> wrote:
> >     > Hi everyone,
> >     >
> >     > Im having a really bad time restoring  my imap server.
> >     >
> >     > My cyrus server discs died and I was just able to recover some
> >
> >     of the
> >
> >     > data.
> >     > I have almost everything from /var/spool/imap but none from
> >
> >     /var/lib/imap
> >
> >     > Thus I copy just one user's mailbox for testing. I created that
> >
> >     user again
> >
> >     > with cyradm, then copied all messages to its
> >     > /var/spool/imap/f/user/foouser
> >     > folder. Run reconstruct for that mailbox.
> >     > So far so good. Now, when trying to check mails both from
> >
> >     outlook and
> >
> >     > thunderbird I cant see any messages.
> >     >
> >     > Boht partiotions have permissions set. chown -R cyrus.mail .
> >
> >     chmod -R 750
> >
> >     > Apparently, clients are looking where they should. I get these
> >
> >     lines on
> >
> >     > maillog when I ty to browse a folder:
> >     > open: user xxx opened INBOX.folder
> >     >  open: user xxx opened INBOX.folder2
> >     >
> >     > No messages are shown though but all files are on those mail
> >
> >     folders. Ive
> >
> >     > run every database or mailbox reconstruction utility with no
> >
> >     success.
> >
> >
> >
> >
> >     Do you see the following files in /var/spool/imap/f/user/foouser
> >     cyrus.cache
> >     cyrus.header
> >     cyrus.index
> >
> >
> > Yes, The cyrus files are there on each folder-
> >
> >
> >
> >     and in /var/lib/imap/user/f/
> >     foouser.seen
> >     foouser.sub
> >
> > Also there.
> >
> >
> >     And did you use the -f option with reconstruct?
> >
> >
> >
> > Yes, I did
> >
> > Just used ctl_mboxlist -d to see if the user's mailboxes were actually
> > in mailboxes.db and yes they are.
> > Dont have a clue about what to do now.
> > ------------------------------------------------------------------------
> >
> > ----
> > 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
> 
> Hi
> 
> activating "subscription" for the folders in the email-client made it
> work for me.
> but it has to be done clientside, and for every email client if
> different ones are used, also for webmail.

That is odd, I only have to do it once and other mail-clients will 
automatically follow suit.

I use KMail and Squirrelmail to access my email.
With KMail there is a distinction between client-side and server-side 
subscription.
Squirrelmail doesn't make this distinction and always defaults to server-side.

It is my understanding that IMAP-clients will use the "server-side" unless a 
client-side overrides these settings.

--
Joost
----
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