Simple Filter Problem?

Forum for MailWasher Pro 7 and/or older 2011/2012 versions.
Pej
Rattled Rabbit
Posts: 2
Joined: Thu Aug 12, 2010 10:49 pm

Simple Filter Problem?

Thu Aug 12, 2010 10:54 pm

Just upgraded to 2010 and spent a while recreating my filters. I'm having trouble with one very simple one - I've got a filter that simple checks the subject of a message to see if contains a certain text string. For some reason the filter is only triggering about 50% of the time - the rest of the time, despite the conditions appearing to have been met, it is never marked as filtered, as spam, for deletion, etc. Am I doing something wrong?

Filter type: Spam
Match: Any
Subject contains Plain Text: *****SPAM*****
Spam Score: -200

Like I said, on the ones that aren't being marked as spam they appear to not be being filtered at all somehow, despite meeting the conditions of the filter.
User avatar
Sidewinder
Weary Womble
Posts: 11676
Joined: Sun Mar 29, 2009 2:05 pm

Re: Simple Filter Problem?

Thu Aug 12, 2010 11:06 pm

Pej wrote:Just upgraded to 2010 and spent a while recreating my filters. I'm having trouble with one very simple one - I've got a filter that simple checks the subject of a message to see if contains a certain text string. For some reason the filter is only triggering about 50% of the time - the rest of the time, despite the conditions appearing to have been met, it is never marked as filtered, as spam, for deletion, etc. Am I doing something wrong?

Filter type: Spam
Match: Any
Subject contains Plain Text: *****SPAM*****
Spam Score: -200

Like I said, on the ones that aren't being marked as spam they appear to not be being filtered at all somehow, despite meeting the conditions of the filter.
Does the Side Panel show the missed messages as being tagged by the filter?
I would suggest that you remove the leading and trailing * characters and change the filter from plain text to Regex
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
anniebrion
βeta Tester
Contact:
Location: Milkyway, Sol, Earth, UK, London
Posts: 3222
Joined: Thu Nov 05, 2009 10:39 am

Re: Simple Filter Problem?

Thu Aug 12, 2010 11:22 pm

I use this regex to find -----SPAM-----, *****SPAM***** and all other combinations of - & * at the start of the subject:

Code: Select all

^[-*]{5,}SPAM[-*]{5,}.*
Replace the ^ with .* if you want to find the string anywhere in the subject
Annie.......... PC details
Mailwasher Pro βeta [v 7.12.39]
User avatar
stan_qaz
Omniscient Kiwi
Location: Gilbert, Arizona
Posts: 8671
Joined: Fri Jul 25, 2008 5:13 am

Re: Simple Filter Problem?

Fri Aug 13, 2010 1:58 am

Before you change the filter over to regex you might want to take a look at the message source and see if there is anything unusual about the ones not hitting. I have a similar filter to yours that works quite well so I'd suspect something in the message is not triggering the filter.
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.
Pej
Rattled Rabbit
Posts: 2
Joined: Thu Aug 12, 2010 10:49 pm

Re: Simple Filter Problem?

Fri Aug 13, 2010 2:10 am

stan_qaz wrote:Before you change the filter over to regex you might want to take a look at the message source and see if there is anything unusual about the ones not hitting. I have a similar filter to yours that works quite well so I'd suspect something in the message is not triggering the filter.
This has occurred on 50+ messages so far, so it isn't a case of a single anomalous message, nor have I spotted an issue in the source with the subjects of said messages. I'll try moving it to regex and seeing if that improves the string detection, though honestly it seems like such a simple filter should work right out of the box. Thanks everyone!
User avatar
stan_qaz
Omniscient Kiwi
Location: Gilbert, Arizona
Posts: 8671
Joined: Fri Jul 25, 2008 5:13 am

Re: Simple Filter Problem?

Fri Aug 13, 2010 3:36 am

If the regex doesn't work the next thing to try is switching to a header filter and looking for the subject: and your spam tag. Header contains "Subject: *****SPAM*****" and see if that helps.
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”