I get many emails from addresses like [email protected] (apparently a random address generator).
Can I create a MW filter that will automatically mark these as spam? This sounds like a great opportunity for AI.
thx!
How to filter out emails with random letters in address?
- gingbat
- Least Evil Firetrust Employee
Post
Re: How to filter out emails with random letters in address?
Yes you could create a new filter as below to catch any email with over 30 characters in the from address...? (as per screenshot)
So if the FROM, CONTAINS, REGEX,
@[:alnum:]{30,}
Also add a Spam Tool rule, and set it to be Sender is not on my Friends List and set the filter to match ALL rules.
Doing this so that if you do get a legit sender with very long domain, you can add to Friends list and the filter will ignore any future emails from that sender.
The filter above is looking in the FROM field, for an @ symbol, followed by any alpha-numeric character. The {30,} means it repeats 30+ times.
You can change that 30 number to suit, but keep the comma after the number as this means has to happen at least 30 times, without the comma it would only match if it was exactly 30.
So if the FROM, CONTAINS, REGEX,
@[:alnum:]{30,}
Also add a Spam Tool rule, and set it to be Sender is not on my Friends List and set the filter to match ALL rules.
Doing this so that if you do get a legit sender with very long domain, you can add to Friends list and the filter will ignore any future emails from that sender.
The filter above is looking in the FROM field, for an @ symbol, followed by any alpha-numeric character. The {30,} means it repeats 30+ times.
You can change that 30 number to suit, but keep the comma after the number as this means has to happen at least 30 times, without the comma it would only match if it was exactly 30.
- rrr512
- Mystified Moa
Post
Re: How to filter out emails with random letters in address?
Thanks!
I was hoping an AI algo could see an address with a string of apparently random characters and mark as spam. The future ?
I was hoping an AI algo could see an address with a string of apparently random characters and mark as spam. The future ?
- gingbat
- Least Evil Firetrust Employee
Post
Re: How to filter out emails with random letters in address?
hey, yea, entirely possible alright, AI can actually write some awesome regex filters already via a web browser.... 
