How can I write a filter to block all emails from one domain extension?
Getting 45-60 SPAM emails/day from domains such as *.*eu and *.*win, etc. Have blocked each email with a separate filer; now have almost 150 -- and yet they keep coming. Tried Unsubscribing which only brings more!
How can I write a filter to block ALL emails from a specific domain extension, such as: .eu .win .download .faith .bid .accountant .review .date .top
Thanks.
Steve Toms steve@stevetoms.net 713-662-6040
Chosen solution
Using static filters to fight spam isn't the right way to do it in my view. The email addresses used for sending spam are a moving target, and most of the time real email addresses from innocent people are used for that. In addition spammers can quickly adjust to new developments, and e.g. use different top level domains. As opposed to static filters Junk Mail Controls use a 'learning filter' capable to adjust to changes from spammers.
Another reason, you block potentially legitimate messages. How knows from whom you may want or need to receive mail from tomorrow.
In any case, I'm not saying you shouldn't do it. If you think it's the right thing to do, go for it.
Read this answer in context 👍 0All Replies (11)
You're fighting a battle you cannot win. For dealing with spam messages it makes more sense to set up junk mail controls for your account. See http://kb.mozillazine.org/Junk_Mail_Controls
So basically, you're telling me there's no way to write a filter to discard all emails from a specific domain ending e.g. *.*eu?
Are others experiencing this dilemma? Who are these SPAMMERS?
STeve
So basically, you're telling me there's no way to write a filter to discard all emails from a specific domain ending e.g. *.*eu?
No. This add-on supports header regex match based on sender. https://addons.mozilla.org/en-uS/thunderbird/addon/filtaquilla/
It's not something I'd do though.
"It's not something I'd do though" ...because...?
STeve
Filters are static. They work now, for whatever nuisance you're suffering from, now. They can't track change. They'll just grow and grow as you add more senders or subjects or domains.
From (Regex) | matches | /.*eu>?$/i
Chosen Solution
Using static filters to fight spam isn't the right way to do it in my view. The email addresses used for sending spam are a moving target, and most of the time real email addresses from innocent people are used for that. In addition spammers can quickly adjust to new developments, and e.g. use different top level domains. As opposed to static filters Junk Mail Controls use a 'learning filter' capable to adjust to changes from spammers.
Another reason, you block potentially legitimate messages. How knows from whom you may want or need to receive mail from tomorrow.
In any case, I'm not saying you shouldn't do it. If you think it's the right thing to do, go for it.
Zenos said
Filters are static. They work now, for whatever nuisance you're suffering from, now. They can't track change. They'll just grow and grow as you add more senders or subjects or domains. From (Regex) | matches | /.*eu>?$/i
Having the same problem (different 'senders'): if "filters are static, and they just grow and grow" -- how does blocking a TLD DIFFER from trying to block one email address after another? The OP reports blocking 150+ email addresses -- so HIS (her?) filter list just keeps growing and growing!
Whereas if, as I am, you keep receiving more and more spam from, say, *.top -- why would blocking THAT TLD not be a super fix? I don't CARE if I don't get emails from that TLD! If someone with that TLD really and truly need to reach me (and I doubt that!) then they'll find another way!
What fix IS there that does not rely on adding more senders or domains?
I have never been in such a fortunate position as to have multiple nuisance emails from one particular domain. You are blessed by being plagued by incompetent spammers.
In that particular specific corner case then yes by all means set up a filter to deal with the messages from that particular domain.
But it is hardly a general solution for nuisance mail. And you need to hope that no legitimate correspondent ever uses that domain.
"Sender" "ends with" "top"
For the OP:
From (Regex)|matches|/(eu)|(win)|(download)|(faith)|(bid)|(accountant)|(review)|(date)|(top)$/i
Modified
Zenos said
I have never been in such a fortunate position as to have multiple nuisance emails from one particular domain. You are blessed by being plagued by incompetent spammers. But it is hardly a general solution for nuisance mail. And you need to hope that no legitimate correspondent ever uses that domain.
Not sure I'd call it fortunate, but the main two are .top and.science. Dunno HOW they 'found' me (2-3 of my addresses are getting hit with 5-6 crap-msgs every couple hours!) My ISP seems to 'get' a lot -- spam isn't that common here -- but the last day or two, yuck!
And IF a legit correspondent uses that domain -- tough for them! {shrug} Bad choice if they try new TLDs without noticing they are spam farms and NOT useful TLDs!
Thanks!