space in domain name evades blacklist with wildcards

Forum for MailWasher Pro 7 and/or older 2011/2012 versions.
jaslaw
Rattled Rabbit
Posts: 4
Joined: Tue Mar 15, 2016 1:06 pm

space in domain name evades blacklist with wildcards

Sun Mar 25, 2018 8:30 am

I have been getting tons of spam from variations of this isp: contact@053tprni domain.com
I have tried various wildcard expressions such as *@*domain.com but with the space noting seems to work. Any ideas?
Thanks.
User avatar
Digerati
Microsoft MVP
Location: Nebraska, USA
Posts: 1921
Joined: Thu Jul 24, 2008 3:16 pm

Re: space in domain name evades blacklist with wildcards

Mon Mar 26, 2018 4:25 am

You cannot use DOS wildcards (the * or ?). That causes the filter to search for an asterisk or question mark.

If they all come from contact@ search for contact@.
Image Bill (AFE7Ret)
Freedom is NOT Free!
Image Windows and Devices for IT, 2007 - 2018
Heat is the bane of all electronics!
─────────────────────
User avatar
rusticdog
Firetrust Monkey
Posts: 15864
Joined: Mon Jun 13, 2005 6:27 pm

Re: space in domain name evades blacklist with wildcards

Mon Mar 26, 2018 10:43 am

You could try creating a Custom Filter that looks for invalid email addresses, which would match on the example you gave.

Here is the rule I currently use, checking the FROM field DOESN'T CONTAIN, REGEX
[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}
Attachments
invalid_filter.png
invalid_filter.png (38.97 KiB) Viewed 3237 times
jaslaw
Rattled Rabbit
Posts: 4
Joined: Tue Mar 15, 2016 1:06 pm

Re: space in domain name evades blacklist with wildcards

Mon Mar 26, 2018 12:44 pm

Wow, within seconds of installing it, the first invalid email was caught. Thanks.

Return to “MailWasher Pro 7”