Recover lost emails in opera mail

  • Hi,

    Hope for a fast answer, because its a bit urgent to retrieve my emails.

    When I started opera mail this morning all my mails was gone. Only mail in my inbox is what opera mail fetched from the mailserver (170 mails).
    I have many email accounts, and almost 20Gb with emails many years back so its a lot that is missing.

    The thing is that all mails are on my computer. In users/AppData/Local/OperaMail/OperaMail/mail i see them.

    I tried to create a new user on the computer. Then install opera mail on this user. I copied whole users/AppData/Local/OperaMail/ folder to another disk so it was accessible for the other user on the computer. It was 18Gb to copy and approx 100000 files. Then I tried to import emails into new opera mail prog. But it only imported the same mails that was on my normal user. The 170 mails I received today.

    I see a folder named indexer. in operamail folder. It has three files inside indexer.axx (32786 kb), indexer.bx (32786 kb) and message_id (6kb)
    I tried to rename this to indexer_bckp when opera mail prog was closed. When opening prog again it recreated indexer folder. But then with only indexer.axx (8 kb), indexer.bx (4 kb) and message_id (4kb).

    So please anybody. How can I get Opera Mail to reindex my emails again?

    Best Regards,
    Pål Sindre Hiåsen

  • Imap or pop accounts? If imap then you can readd the accounts and fetch the messages again. If pop you'll need to import the messages if they are no longer on the server.

  • When I started opera mail this morning all my mails was gone. Only mail in my inbox is what opera mail fetched from the mailserver (170 mails).
    I have many email accounts, and almost 20Gb with emails many years back so its a lot that is missing.

    First, export your feeds list view "Menu -> settings -> import and export -> export Feeds List". Then, export your contacts list.

    Then, close down Opera and delete contacts.adr and rename the mail folder to mail_bad.

    Then, start Opera and manually set up each of your accounts. For good measure, set them up in the some order your did in the old mail folder (including importing your feed list at the right time to make it the same account number). Look in accounts.ini in the old mail folder to see how they're numbered. Then, for POP accounts, use the "Menu -> settings -> import and export -> import mail -> import generic mbox -> add folder" to import the store/accountN folder (where N is the number for the account as seen in accounts.ini) from the bad mail folder into the corresponding account in the new mail folder that you already set up.

    After you're all done, import your contacts list.

    For newsgroup accounts and feed accounts, for messages that are no longer on the server or are no longer on the feed page, you won't be able to import them into the corresponding newsgorup/feed account. Instead, you'll have to import their accountN folders from the bad mail folder as new local POP accounts (POP accounts that don't have any server settings basically). You can then right-click in the mail panel and choose "show messages from" and set it to only a certain account at a time if you want.

    You'll then have to add your labels again, set their rules and add messages back to them. You can automatically recreate your labels and their rules if you copy the indexes for the labels over from the old index.ini in the mail folder to the new index.ini (while Opera is closed). But, before you insert them into the new index.ini, you'll have to make sure their index numbers are changed to follow along with the consecutiveness of the ones that are already in there. You also then have to update the index count at the top of index.ini to reflect the new count of indexes. Also for each label index you insert, you'll have to makes sure their parent id is correct (as in, that it points to the "Labels" access point id). You'll also have to make sure that the ID for each label index you insert doesn't clash with an existing id in the file. Also, if any of your labels (or All Messages/Spam) had "learn from labeled messages" set and you want to restore learned rules too, you'll have to copy the "autofilter" folder over from the old mail folder. After all that, your labels will be restore except for messages that you manually added to those labels. Those messages will have to be manually added again.

    How can I get Opera Mail to reindex my emails again?

    That's the only way to reindex mail. (Now, if you just wanted to reindex searching, you can close down Opera and delete the lexicon folder. That will cause Opera to rebuild the search index. But, that won't rebuild the database and the indexer folder, which is what needs to be done.)

    Before you do anything, you can check the database. In simple cases, it can fix everything. It's very doubtful this will help in your case though. Also, it wouldn't hurt to download Opera Mail, run the installer, click "options", set the "install path" to your current Opera Mail and click "upgrade" to fix Opera Mail's program files just in case they got corrupted somehow.

  • the same thing has happened to me.

    • so far I have checked the database
    • loaded opera mail, imported from opera and all IT PROCESSED but no mail shows up
    • i followed the above, loaded the first account, it processed for 3 hours, showing all the emails as they are "processed"loaded, then nothing shows up.

    i an current reloading that account.
    (also do not understand the "send to sent" thing as it only allows you to send one email.

  • there do not appear to be any "sent" messages recovered.
    can I get them back?

  • It appears to be processing rooughly double the amount of actual messages that end up in "received".

  • it is useful if I post a synopsis of my approach?

  • Sindre,

    Were you ever able to recover your email? I am hitting the same issue and can't get anywhere. I had not been backing up the inbox so I guess I bear responbility.

  • The OP was over 2½ years ago, so I'd be surprised if you get a response!
    :)

  • Most likely, there was an error in the registry which changed your profile location - if so, then all messages are still on your system somewhere.

Log in to reply
 

Looks like your connection to Opera forums was lost, please wait while we try to reconnect.