Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Im using Mozilla Thunderbird on Ubuntu and it has alot of Message Filters and I want to export them so that I can use them on my home pc . I have gone through each and every menu but found no mention of EXPORT settings.

i will really appreciate how to do this.

If successful I will use Message filters on Mozilla Thunderbird installed on both Ubuntu and Windows 7.


share|improve this question

4 Answers 4

up vote 4 down vote accepted

You can use the Thunderbird Message Filter Import/Export Enhanced addon to export and import your thunderbird message filters.

enter image description here

share|improve this answer
not compatible with TB 15.0. –  OmiPenguin Sep 5 '12 at 10:58
Sorry, it was the wrong link. –  BuZZ-dEE Sep 5 '12 at 11:08
I just checked it. i1151.photobucket.com/albums/o627/Umair_Mustafa/… –  OmiPenguin Sep 5 '12 at 11:09
You should use this addon instead of that addon. –  BuZZ-dEE Sep 5 '12 at 11:11
U have done a fine job my friend I just export those filters and will let u know when i import em on my home pc . –  OmiPenguin Sep 5 '12 at 11:20

Thunderbird Message filters are stored in your home directory ($HOME)

open terminal

  • cd ~/.thunderbird
  • use find command to grep the message filters
    • find . -type f -name msgFilterRules.dat

msgFilterRules.dat will store all your filters.

You can cat the file and see the contents.

Hope this helps

share|improve this answer
ok i found it and will give update when I go home and import them in TB –  OmiPenguin Sep 5 '12 at 10:30
Thanks this is the solution I needed because I was moving a lot of filter rules between accounts, which is a daunting task when Thunderbird doesn't allow you to open up the filter rule window twice. I just needed to go into each rule afterwards and set the destination folder properly. –  deltaray Jan 26 at 14:31

Let me google it for your.

Solution one: copy file msgFilterRules.dat between the profiles on different machines.

Solution two: use a plugin to export / import your filters.

share|improve this answer
Well I already tried Solution Two bu it is not compatible with TB 15.0. And I will try Sol One . –  OmiPenguin Sep 5 '12 at 10:35

If you copy messageFilterRules.dat from one profile to another, first you must make sure that you are copying the filter from the correct account to the correct account (and from the correct profile folder if you have more than one). Each email account has its own messageFilterRules.dat file--including Local Folders, even if you don't have any filters for that account.

Additionally, make sure that any changes made are reflected in both installations, such as a moved or renamed folder. Even after assuring these steps, you may still get a message saying, "Folder folder name could not be found, filter is disabled," or "Applying of filter filter name has failed. Would you like to continue applying filters?" depending upon how you ran the filter. You need to edit the filter and direct the action folder to the correct existing folder.

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.