MozillaZine

How to make same filter for different accounts?

User Help for Mozilla Thunderbird
Dirki
 
Posts: 523
Joined: February 27th, 2009, 7:12 am

Post Posted January 3rd, 2018, 4:27 am

I receive the same spam mails in different account (to different e-mail addresses).

How can one make one single filter for the same spam / unwanted e-mails (one gets in different accounts)? Instead of making one filter for each account the spam goes to.
- Windows 10 Home, 64bit
- newest stable portable Firefox (not beta)
- newest stable portable Thunderbird (not beta)

DanRaisch
Moderator

User avatar
 
Posts: 119601
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Post Posted January 3rd, 2018, 6:23 am

Copy the file msgFilterRules.dat, which contains the filter definitions, from one account to the other. http://kb.mozillazine.org/Filters_%28Thunderbird%29

Dirki
 
Posts: 523
Joined: February 27th, 2009, 7:12 am

Post Posted January 3rd, 2018, 6:40 am

Thank you very much!

Hmmm, I could imagine that meant the msgFilterRules.dat files in the other acounts would be overwritten. So their filters would be lost. Or am I missing anything?
- Windows 10 Home, 64bit
- newest stable portable Firefox (not beta)
- newest stable portable Thunderbird (not beta)

makaiguy

User avatar
 
Posts: 16609
Joined: November 18th, 2002, 6:44 pm
Location: Somewhere in SE USA

Post Posted January 3rd, 2018, 8:14 am

Dirki wrote:Thank you very much!

Hmmm, I could imagine that meant the msgFilterRules.dat files in the other acounts would be overwritten. So their filters would be lost. Or am I missing anything?

Yes, that is correct. ALL the filters from the source account would overwrite the filters in the destination account.
Doug Wilson, "The Makai Guy"
Win10 (64bit): FF 52.8.0 ESR (64bit), TB 52.8.0 (32bit) ║ Android 8.0/7.1.1: FF 60.0.2 No TB for Android available, dammit!
What a fool believes he sees, no wise man has the power to reason away - Doobie Brothers

DanRaisch
Moderator

User avatar
 
Posts: 119601
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Post Posted January 3rd, 2018, 8:53 am

But that file is a plain text file so you might be able to combine files if you already have filters set up for the other account into which you intend to copy.

Dirki
 
Posts: 523
Joined: February 27th, 2009, 7:12 am

Post Posted January 3rd, 2018, 12:08 pm

OK, thank you, makaiguy.

But that file is a plain text file so you might be able to combine files if you already have filters set up for the other account into which you intend to copy.

I see, so I just can add the content of a msgFilterRules.dat file to another msgFilterRules.dat file and that's it. Just copy its content beneath the content of another msgFilterRules.dat file.
- Windows 10 Home, 64bit
- newest stable portable Firefox (not beta)
- newest stable portable Thunderbird (not beta)

DanRaisch
Moderator

User avatar
 
Posts: 119601
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Post Posted January 3rd, 2018, 8:09 pm

It could be, but I suggest that you copy the file from each account under a new name, possible related to the account. That way if there is any conflict or problem with the combined data you can go back to what you started with.

Dirki
 
Posts: 523
Joined: February 27th, 2009, 7:12 am

Post Posted January 4th, 2018, 12:53 am

Alright, so Thunderbrid can process more than one msgFilterRules.dat files per accront and recognizes those files although having other names than the original one..

So I could rename a msgFilterRules.dat file of an account to e.g. msgFilterRules-other-account.dat and copy it to another account so I would have msgFilterRules.dat and msgFilterRules-other-account.dat in the same account.
- Windows 10 Home, 64bit
- newest stable portable Firefox (not beta)
- newest stable portable Thunderbird (not beta)

DanRaisch
Moderator

User avatar
 
Posts: 119601
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Post Posted January 4th, 2018, 6:40 am

Alright, so Thunderbrid can process more than one msgFilterRules.dat files per accront and recognizes those files although having other names than the original one.

No, that's not what I said. I was suggesting that you rename those files so they would serve as backups, not as active filter files. Thunderbird will only recognize files named msgFilterRules.dat when seeking to run filters on an account. Please read the information in the link I posted above to better understand that there are no profile wide filters, only account specific filters.

Dirki
 
Posts: 523
Joined: February 27th, 2009, 7:12 am

Post Posted January 4th, 2018, 7:07 am

I see, very sorry for my bad understanding.

Alright, I will do it like that and use the renamed files as a back up. Yes, I had read the information on that page, I'll do it once again.

Many thanks!
- Windows 10 Home, 64bit
- newest stable portable Firefox (not beta)
- newest stable portable Thunderbird (not beta)

DanRaisch
Moderator

User avatar
 
Posts: 119601
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Post Posted January 4th, 2018, 3:41 pm

You're welcome.

Return to Thunderbird Support


Who is online

Users browsing this forum: beerhead and 6 guests