This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

get back old emails

  • 5 replies
  • 3 have this problem
  • 12 views
  • Last reply by Matt

more options

I had a virus, by Kaspersky did it's job, found it and I told it to delete the remains. However I had not been taking too much notice, as some of these virus or malware are appearing in emails etc.

When I reopened Thunderbird, all my emails were gone. bar the two most recent.

How do I get at the works to tell TB to actually dress the date back to as far back as it can go? Is it possible?

I need some of them as they are orders for goods with tracking numbers.

I had a virus, by Kaspersky did it's job, found it and I told it to delete the remains. However I had not been taking too much notice, as some of these virus or malware are appearing in emails etc. When I reopened Thunderbird, all my emails were gone. bar the two most recent. How do I get at the works to tell TB to actually dress the date back to as far back as it can go? Is it possible? I need some of them as they are orders for goods with tracking numbers.

Chosen solution

if it is a pop mail account. (and It should be to only have 30 days)

goto the Help menu (alt+H) > troubleshooting information and click the show profile button.

Close Thunderbird Open the mail folder in the explorer window that opened. Now the server folder for your account. It will be named the same as the mail server. delete the file popstate.dat Restart Thunderbird

Read this answer in context 👍 2

All Replies (5)

more options

Best bet is talk to the Kaspersky people. Their program will have either quarantined or completely deleted the data files that Thunderbird stores your mail in. So recovery will depend entirely on what they did, and what they can do to undo what they did.

Or you could restore from your backup, if you have one.

more options

Hi Matt, thanks for the reply. Think I may have 'mis-asked'.... The emails are LOST from the computer. I know that, I pressed the key that told Kaspersky to remove them from my system.....(Doh just was not in thinking mode, should have seen they pointed at the mailbox)

My question is really how do I reset TB to pick up the 30 days worth still on my ISP

I was hoping there was some hidden date saying that the last download was at 1605 today or something and I could reset that to 31 days ago..

Thats the sort of thing I'm after.

more options

Chosen Solution

if it is a pop mail account. (and It should be to only have 30 days)

goto the Help menu (alt+H) > troubleshooting information and click the show profile button.

Close Thunderbird Open the mail folder in the explorer window that opened. Now the server folder for your account. It will be named the same as the mail server. delete the file popstate.dat Restart Thunderbird

more options

Matt, Thanks for that, Excellent Worked a treat, Thanks very much. I must make a note of this... I have done it a year or so ago, as well. So knowing my luck i'll do it again.

It brought back a 1.5K files (including virus) (dealt with differently now). Was expecting more, but had not realised I'd set my retain to 14 days.

THANK YOU very much Regards

more options

Tools menu (alt +T) > options > Security > Anti virus

Click the allow. This allows for all new incoming email to be written to a temp file before it is committed to Thunderbird's mail store. If it has a virus the file can be quarantined, Thunderbird burps an error about the file being missing and everyone is happy.

Now seriously consider creating an exclusion in the mail anti virus for the contents of your mail folder. You have fixed the new issue, but not the full scan problem. Considering that the virus could have been sitting quietly in your inbox for a year when the AV company finally decides to hammer it.

Thunderbird does not allow scripting. So even if there is a script virus in the mail it will not run. If it is in an attachment and you try and open it the anti virus will hit it as soon as it is written to the temp file. This must happen so Thunderbird can fire off the location to the helper application that actually opens the file. So again your protected.

Just some suggestions and food for thought.