
How do I create mail filters with wildcarded parts?
I am getting spam emails from everchanging sender address of the form xxx@yyy.you9999.com where the fourdigit number changes a few times daily ... 1010, 1011, 1012, 1013, ... 1025, ... 1037, ... It would nicely match a pattern such as *@*.you\d\d\d\d.com or even *@*.you*.com Is is really true that there is no wildcarding possible in the Thunderbird message filters?
Chosen solution
Have a look at https://addons.thunderbird.net/en-US/thunderbird/addon/filtaquilla/
https://addons.thunderbird.net/en-US/thunderbird/addon/filtaquilla/ for more information.
It offers regex matches for subject and body as well as the executing of javascript. I would think it should meet your needs.
Read this answer in context 👍 0All Replies (6)
It is much better to have Thunderbird Junk filter dealing with junk and use Message Filters to filter good emails. Have you set up your Junk controls and have you trained the inbuilt junk filter? https://support.mozilla.org/en-US/kb/thunderbird-and-junk-spam-messages
Additional good help info..........
Good info on general use of the Message Filter:
Does not use wildcard expressions, hence why you train the inbuilt Junk filter which uses Bayesian filtering.
FiltaQuilla is a useful addon for regular expressions:
Modified
I use the Tbird junk filter also, but it yields very little. My email delivery comes to me through a commercial spam filtering service (www.spamchek.com), and they are pretty good, but they sometimes do not respond quickly to new patterns and this was one that I could do very easily. I do not feel that the Junk mail filtering - which I assume is mostly Bayesian "AI" - is as effective as certain rule-based filters. So I have rule-based filters that set the Junk flag and then I have a Junk folder that gets forwarded to SpamChek daily to help uimprove THEIR filters.
I think all you need to do if you want to use a filter is use the term 'contains' for the invariate part of the address.
In the example quoted - which is a real example - the invariate part is in two pieces with the variant part in the middle. I suppose that it can be done by having each of the two invariant parts in separate filter triggers, but that will use up the filter table much faster.
Chosen Solution
Have a look at https://addons.thunderbird.net/en-US/thunderbird/addon/filtaquilla/
https://addons.thunderbird.net/en-US/thunderbird/addon/filtaquilla/ for more information.
It offers regex matches for subject and body as well as the executing of javascript. I would think it should meet your needs.