How to apply automatic message filters to subfolders, too?
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Puzzle2
--
Chapters
00:00 How To Apply Automatic Message Filters To Subfolders, Too?
01:33 Answer 1 Score 13
01:59 Accepted Answer Score 11
03:44 Answer 3 Score 2
04:31 Thank you
--
Full question
https://superuser.com/questions/544480/h...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#thunderbird #imap #emailfilter
#avk47
ANSWER 1
Score 13
To make filtering works for subfolders: create a new string preference "mail.server.default.applyIncomingFilters" to "true". Even if it seems odd, do NOT create a boolean setting, it has to be a STRING setting with the value "true".
Source: http://forums.mozillazine.org/viewtopic.php?f=39&t=1444045&p=12768821#p12768821 see reply of "geoyo1"
ACCEPTED ANSWER
Score 11
According to [1], set up Thunderbird to run filters on subfolders:
- Click the "Tools" menu
- Click the "Options" sub-menu
- Select the "Advanced" and "General" tab
- Click the "Config Editor..." button
- [Optional] Click the "I'll be careful (...)" button
- Right click on top of any of the preferences shown and click "New >"
- Select "String"
- Preference name:
mail.server.default.applyIncomingFilters
- Preference value:
true
Now the second problem is that the filters only work when you click the sub-folder. This seems to be because filters are only executed when new messages are downloaded and that only happens when you click the sub-folder.
According to [2], set up Thunderbird to download messages whenever new mail is detected:
- Go to the Config Editor (if needed, see above how to get to the "Config Editor..." button)
- Set
mail.imap.use_status_for_biff
tofalse
- Set
mail.server.default.autosync_offline_stores
totrue
As pointed out in [2], please see the following observations
The advantage of the AutoSync settings is that (...) any downloading is not delayed until you go offline.
(...)
If you use it, be careful about how you configure Thunderbird to check for new mail, to avoid it downloading folders that you didn't expect.
[1] http://forums.mozillazine.org/viewtopic.php?f=39&t=1444045&p=12768821#p12768821
ANSWER 3
Score 2
You can solve your problem by using the Shedule-Filters Add-On. It still works with TB 52, but you need to install it manually.
After the installation you need to display the usual menu bar:
and then you find it under "Tools". Now you only need to mark the specific subfolder and select Tools -> Add message filters in folder schedule and define an interval. After that all your filters will run on this subfolder every X minutes:
In combination with FiltaQuilla's search term "Folder Name" this is really powerful because you can create general rules that only apply to certain folders and they run automatically!
In my opinion this should be a TB built-in feature.