Can't get a filter to trigger on an e-mail address?

Forum for MailWasher Pro 7 and/or older 2011/2012 versions.
murdock_notSPAM
Mystified Moa
Posts: 8
Joined: Fri Aug 13, 2010 9:09 am

Can't get a filter to trigger on an e-mail address?

Fri Aug 13, 2010 9:41 am

I have been using MW for years. I have all my filters set up and working well on the 6.x version, and I'm trying to get a simple auto delete to function.

Is there a trick I am missing?

Here are the filter settings...

Name = {email address}
Description: Auto delete {email address}
Filter type: Spam
Rules: ...ANY of the following rules:
1) 'To' - Is - Plain text - {email address}
2) 'From' - Is - Plain text - {email address}

Actions: Spam Score -200
Override Delete: Auto-delete this e-mail

I have tried it with just the e-mail address, and the e-mail address in single quotes. No matter what I do, it never shows the filter being applied on the messages with that email address.

Thanks for any help!
Murdock
User avatar
Sidewinder
Weary Womble
Posts: 11676
Joined: Sun Mar 29, 2009 2:05 pm

Re: Can't get a filter to trigger on an e-mail address?

Fri Aug 13, 2010 9:53 am

Take a look at the Source Tab in the preview pane or window and make sure you have the address correct a lot of them use <> characters to surround the actual address. You could also leave the information there and change it to a Regex filter but remember to precede the . with a \ to recognize the period.
I am not a Firetrust employee. Just a MW User & Volunteer BETA Tester.
Remember "FREEDOM IS NEVER FREE" U.S.N.
DT W7 64 HP SP1 16GB Ram - LT W7 32 HP SP1 4GB Ram - iPad4 64 GB Ram WiFi/Cellular IOS 9.3 Beta 3
User avatar
Sidewinder
Weary Womble
Posts: 11676
Joined: Sun Mar 29, 2009 2:05 pm

Re: Can't get a filter to trigger on an e-mail address?

Fri Aug 13, 2010 9:55 am

Also remember the filter list uses an order of precedence e.g. the first filter matched stops all further testing.
I am not a Firetrust employee. Just a MW User & Volunteer BETA Tester.
Remember "FREEDOM IS NEVER FREE" U.S.N.
DT W7 64 HP SP1 16GB Ram - LT W7 32 HP SP1 4GB Ram - iPad4 64 GB Ram WiFi/Cellular IOS 9.3 Beta 3
User avatar
stan_qaz
Omniscient Kiwi
Location: Gilbert, Arizona
Posts: 8671
Joined: Fri Jul 25, 2008 5:13 am

Re: Can't get a filter to trigger on an e-mail address?

Fri Aug 13, 2010 10:38 am

You might also look at switching from "is" which requires identical entries to "contains" which means your condition can have other stuff around it on the line.

An example: "is" "[email protected]" will not match "me <[email protected]>" but contains would match.

The source view is what filters run against so always copy/paste from there into your filters for best results.
I am not a Firetrust employee just a MW user.
--
First rule of computer consulting: Sell a customer a Linux computer and you'll eat for a day,
sell a customer a Windows computer and you'll eat for a lifetime.
murdock_notSPAM
Mystified Moa
Posts: 8
Joined: Fri Aug 13, 2010 9:09 am

Re: Can't get a filter to trigger on an e-mail address?

Fri Aug 13, 2010 1:26 pm

Hey! Thanks for the help. I would have been back sooner, but I didn't get notified that the topic was updated...I'll have to look in to that.

Anyway...Thanks for the suggestions. I tried contains (see below), but I haven't tried the Reg expressions yet. It seemed like a simple e-mail address filter.

Here is a header.
[edited]


I just tried "contains", and still not luck. The message shows a score of -3, and that the filter was not applied.

Oh, and I did try out the priority thing. I moved it to the top. And...Still no luck. (again) :(

One more update before I click submit.
I've tried Header contains, message contains, Subject contains (the subject header of this message), and nothing works. I have even tried using the filters to mark the message as good, and it still doesn't get hit by a filter. It says "This email has been classified as Undetermined".
Last edited by murdock_notSPAM on Sun Aug 15, 2010 2:44 am, edited 2 times in total.
User avatar
anniebrion
βeta Tester
Contact:
Location: Milkyway, Sol, Earth, UK, London
Posts: 3222
Joined: Thu Nov 05, 2009 10:39 am

Re: Can't get a filter to trigger on an e-mail address?

Fri Aug 13, 2010 8:47 pm

For email addresses I use this regex (contains):

Code: Select all

(^|<|\x20)me@domain\.com\b
Put (?-i) at the beginning if you want to check an address with uppercase characters.
Annie.......... PC details
Mailwasher Pro βeta [v 7.12.39]
murdock_notSPAM
Mystified Moa
Posts: 8
Joined: Fri Aug 13, 2010 9:09 am

Re: Can't get a filter to trigger on an e-mail address?

Sat Aug 14, 2010 12:15 am

Thanks for the suggestion. I used : (^?-i)(^|<|\x20)pezz@[edited]\.com\b

And still no luck. The filter is at the top, is there any reason why it wouldn't be active. The box is checked, and I have other filters that do work. I even deleted the filter and recreated it. Nothing!
Last edited by murdock_notSPAM on Sun Aug 15, 2010 2:43 am, edited 1 time in total.
User avatar
anniebrion
βeta Tester
Contact:
Location: Milkyway, Sol, Earth, UK, London
Posts: 3222
Joined: Thu Nov 05, 2009 10:39 am

Re: Can't get a filter to trigger on an e-mail address?

Sat Aug 14, 2010 12:26 am

Did you change to REGEX from "Plain Text"?

Also for the email you've given, you don't need the (^?-i) Also this is not valid as the ^ is wrong in this context.

Just use:

Code: Select all

(^|<|\x20)pezz@njlanparty\.com\b
Annie.......... PC details
Mailwasher Pro βeta [v 7.12.39]
murdock_notSPAM
Mystified Moa
Posts: 8
Joined: Fri Aug 13, 2010 9:09 am

Re: Can't get a filter to trigger on an e-mail address?

Sat Aug 14, 2010 3:58 pm

Hi eveyone...Thanks for the help. I left out one piece of information. The account is forwarding the mail to pezz@[edited].com to another e-mail address. When it arrives, it still shows as 'To: pezz@[edited].com' as shown in the header info up top. I think the fact that it is getting forwarded is causing MW to be confused. It used to work as is, up until last week, on MW 6x (and still does). So...here's the plan.

I'm giving up.

I removed the forwarding and added the pezz account as a direct mail account in MW. I figure that would eliminate any issue related to the forwarding...and guess what. It didn't. The filter still isn't catching the mail. Looking at the evaluation, it only shows the email content analyzed, giving the test message (not the one above) a score of 81.

I think I am going to open a support ticket, if there is such a thing...If there isn't, anyone want a shot at it? PM me for the account details and I'll let you take a look.
ru
rusticdog

Re: Can't get a filter to trigger on an e-mail address?

Sat Aug 14, 2010 9:33 pm

You can email me all the details to [email protected] (by the way I edited the email address out of the post above). I'll try and get to the email as quickly as I can, though I'm pretty backlogged.


I haven't forgotten about your username either, I just cannot edit the record right now as it runs through the same spam filter, so we need some tweaking to be done.
ru
rusticdog

Re: Can't get a filter to trigger on an e-mail address?

Sun Aug 15, 2010 12:35 am

I came across the support ticket you'd posted.

If I use the one Annie posted (following) it works, if To: Contains Regex..

Code: Select all

(^|<|\x20)pezz@njlanparty\.com\b
murdock_notSPAM
Mystified Moa
Posts: 8
Joined: Fri Aug 13, 2010 9:09 am

Re: Can't get a filter to trigger on an e-mail address?

Sun Aug 15, 2010 2:42 am

Yeaaaaaaaa!

That worked...I had an extra ) in there.

Thanks for deleting the e-mail addresses. I removed them at first, but then decided I wanted to be as clear as possible, at least until the problem was resolved. I'm going to go and remove the header box also...

Any idea why it doesn't work as just plan text?

Thanks for all your help! I love the program and I push it on everyone I know!
ru
rusticdog

Re: Can't get a filter to trigger on an e-mail address?

Sun Aug 15, 2010 2:51 am

Any idea why it doesn't work as just plan text?
You need to be sure if Plain Text that the filter reads "Contains" rather than "Is". When I tested, that also worked for me when filtering for the straight email address.
e.g. Contains Plain Text
[email protected]
murdock_notSPAM
Mystified Moa
Posts: 8
Joined: Fri Aug 13, 2010 9:09 am

Re: Can't get a filter to trigger on an e-mail address?

Sun Aug 15, 2010 5:22 am

I figured it out!!! I found a BUG.

Whoa! The WHOLE reason it wasn't working was because I used an '@' in the filter name.

When its not there...it works. When I put it back, it stopped working. Give it a try...Let me know if that's just me.

Working name : {email}

Non working Name: {email}@

This was driving me nuts! I knew it should have worked...
Last edited by murdock_notSPAM on Sun Aug 15, 2010 6:18 am, edited 1 time in total.
User avatar
stan_qaz
Omniscient Kiwi
Location: Gilbert, Arizona
Posts: 8671
Joined: Fri Jul 25, 2008 5:13 am

Re: Can't get a filter to trigger on an e-mail address?

Sun Aug 15, 2010 5:27 am

Good grief... You know how frustrating it is to beta test something for many months, beating on it in every way possible and still have something like that slip by both the beta bunch and the internal Firetrust testers?

Great find!
I am not a Firetrust employee just a MW user.
--
First rule of computer consulting: Sell a customer a Linux computer and you'll eat for a day,
sell a customer a Windows computer and you'll eat for a lifetime.

Return to “MailWasher Pro 7”