Home Forums OS X Server and Client Discussion Mail after reconstruct, folders there, mail is gone.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #362462
    clwolf
    Participant

    (cross post from an apple discusssions. Sorry if this is a no no, but need answers fast).

    After a server crash, we got almost everything back, except mail. I copied the /var/imap and /var/spool/imap from a known good backup. Server Admin stated 5GB of mail in the store, but unknown mail path for all users.

    Verified cyrusimap and mail w/ owner:group for both…yep. Tried reconstruct….said it couldn’t read mailboxes file. Fair enough. Backed up mailboxes.db and backed up imap folder, removed imap folder, and recreated imap folder via mkimap tool.

    Used reconstruct -i. Then used reconstruct -r -f ….looking good. Recreated users and all folders. Great. More no mail, I repeat NO mail is in any folder for any user.

    HELP!!!!!

    (this is on a 10.4.2 server)

    #363507
    Anonymous
    Guest

    Delete every file like “cyrus.*” in every mailbox.

    And reconscrut all mailbox with the data :

    sudo -u cyrusimap /usr/bin/cyrus/bin/reconscruct -r user/*

    #364032
    Demani
    Participant

    I tried running the above line on a user who had many older emails returned to his var/spool/imap/user/ folder to restore a machine after a server outage but nothing that wasn’t there before is
    showing up now. How do I force the index to recheck all the messages in the directory? I thought that the above would do it (I read the man reconstruct page too- it says the same thing to reconstruct a user’s mailbox) but no luck.

    I delete the cyrus.* files but nothing seems to generate new ones.
    Any ideas?

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Comments are closed