Filter problem on CC list

Forum for MailWasher Pro 7 and/or older 2011/2012 versions.
dav4is
Travelling Tuatara
Posts: 27
Joined: Tue Aug 17, 2010 5:15 am

Filter problem on CC list

Tue Aug 17, 2010 12:20 pm

Setting the NOT TO ME filter,
Filter type: SPAM
Match ALL rules
Rules like: TO doesn't contain "DAV4IS@
Rules like: CC doesn't contain "DAV4IS@"

Does not detect address beyond first position in CC list. List format:
Cc: "Barbara Chase" <[email protected]>,
"Scott Chase" <[email protected]>, "Jim Mara" <[email protected]>,
"Dave Guernsey" <[email protected]>, ...

I.e. Barbara Chase detected, but not Scott Chase.

[[Wish for a "TO or CC" rule! :( ]]
-R.
WINDOWS 7 Home Premium SP1
Compaq Presario; Dual core; 64 bit
MWP-2010
User avatar
Sidewinder
Weary Womble
Posts: 11676
Joined: Sun Mar 29, 2009 2:05 pm

Re: Filter problem on CC list

Tue Aug 17, 2010 12:31 pm

Did you copy and paste the expression into the rule from an actual message header as seen on the Source tab?
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
dav4is
Travelling Tuatara
Posts: 27
Joined: Tue Aug 17, 2010 5:15 am

Re: Filter problem on CC list

Tue Aug 17, 2010 12:34 pm

Yes, I did. I have tried all variations of strings in CC list, but only strings in the first element of the CC list are found.

Furthermore, the CC list fragment I posted here was copied from an actual message, with part of the addresses XXX'ed out.
-R.
WINDOWS 7 Home Premium SP1
Compaq Presario; Dual core; 64 bit
MWP-2010
User avatar
Sidewinder
Weary Womble
Posts: 11676
Joined: Sun Mar 29, 2009 2:05 pm

Re: Filter problem on CC list

Tue Aug 17, 2010 12:43 pm

dav4is wrote:Yes, I did. I have tried all variations of strings in CC list, but only strings in the first element of the CC list are found.

Furthermore, the CC list fragment I posted here was copied from an actual message, with part of the addresses XXX'ed out.
OK then have you tried a Regex attempt. To use it you must put a \ (regex delimiter) in front of the . in the domain name.
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
dav4is
Travelling Tuatara
Posts: 27
Joined: Tue Aug 17, 2010 5:15 am

Re: Filter problem on CC list

Tue Aug 17, 2010 1:00 pm

Are you serious? Why would the user need to use regular expressions here???
Substrings of the first element are detected w/o RegExp, e.g. "BARBARA" as plain text is found (w/o quotes) -- but "SCOTT" is not.
Last edited by dav4is on Tue Aug 17, 2010 1:02 pm, edited 1 time in total.
-R.
WINDOWS 7 Home Premium SP1
Compaq Presario; Dual core; 64 bit
MWP-2010
User avatar
stan_qaz
Omniscient Kiwi
Location: Gilbert, Arizona
Posts: 8671
Joined: Fri Jul 25, 2008 5:13 am

Re: Filter problem on CC list

Tue Aug 17, 2010 1:01 pm

Possibly this bug, where the quote confuses MW? http://forum.firetrust.com/viewtopic.ph ... 920#p35011

The regex doesn't seem to deal with teh quotes but it might be able to get past the first element in the line. If it doesn't work to get to the second element you might look at switching to a Header filter and trying that.
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.
dav4is
Travelling Tuatara
Posts: 27
Joined: Tue Aug 17, 2010 5:15 am

Re: Filter problem on CC list

Tue Aug 17, 2010 1:11 pm

stan_qaz wrote:Possibly this bug, where the quote confuses MW? http://forum.firetrust.com/viewtopic.ph ... 920#p35011

The regex doesn't seem to deal with teh quotes but it might be able to get past the first element in the line. If it doesn't work to get to the second element you might look at switching to a Header filter and trying that.
Perhaps not. Note that I am not using any quotes in the filter. The quotes are in the email CC list.
May be related bug, but not what stan_qaz is saying is his problem.

Switching to scan the whole header finds any string in the CC list -- but would need to be a RegExp to do the job properly.

No, sorry. This is clearly a bug.
-R.
WINDOWS 7 Home Premium SP1
Compaq Presario; Dual core; 64 bit
MWP-2010

Return to “MailWasher Pro 7”