Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Few months ago I setup various filters for my emails so that I could move my emails to different folders according to their sender-email/title etc. this installation was on my Windows partition. Somehow my installation is corrupted and I can't boot into Windows anymore but I'm using thunderbird on ubuntu and I want to import these filters I created so I don't have to rewrite them all.

So the scenario is:

  • A corrupted Windows installation (Doesn't boot up but I can access the files on the partition) with thunderbird and filters.
  • An Ubuntu distro with thunderbird but no messages filters.

Where does thunderbird store these filters on Windows and how can I import them to the Thunderbird installed on Ubuntu?

share|improve this question
up vote 6 down vote accepted

The message filters are in this file: msgFilterRules.dat Just copy it into the new profile. You will probably have to make some adjustments to get them to work properly.

share|improve this answer
Thanks, it worked flawlessly... – Nima Jun 20 '12 at 20:17
You are welcome! – George Jun 20 '12 at 20:40

In addition to what George said...

I am not sure what the file path would be in windows, but when you copy it over to Ubuntu, it will go here:

<uname>@<hostname>:~$ sudo find / -iname "msgFilterRules.dat"
/home/<uname>/.thunderbird/<random-chars>.default/Mail/Local Folders/msgFilterRules.dat

Hope this additional information helps others.

share|improve this answer

Took me a while to find it on windows so this might help someone:


<profilename> is usually random gibberish.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.