Page 1 of 2
Can't get a filter to trigger on an e-mail address?
Posted: Fri Aug 13, 2010 9:41 am
by murdock_notSPAM
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
Re: Can't get a filter to trigger on an e-mail address?
Posted: Fri Aug 13, 2010 9:53 am
by Sidewinder
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.
Re: Can't get a filter to trigger on an e-mail address?
Posted: Fri Aug 13, 2010 9:55 am
by Sidewinder
Also remember the filter list uses an order of precedence e.g. the first filter matched stops all further testing.
Re: Can't get a filter to trigger on an e-mail address?
Posted: Fri Aug 13, 2010 10:38 am
by stan_qaz
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.
Re: Can't get a filter to trigger on an e-mail address?
Posted: Fri Aug 13, 2010 1:26 pm
by murdock_notSPAM
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".
Re: Can't get a filter to trigger on an e-mail address?
Posted: Fri Aug 13, 2010 8:47 pm
by anniebrion
For email addresses I use this regex (contains):
Put
(?-i) at the beginning if you want to check an address with uppercase characters.
Re: Can't get a filter to trigger on an e-mail address?
Posted: Sat Aug 14, 2010 12:15 am
by murdock_notSPAM
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!
Re: Can't get a filter to trigger on an e-mail address?
Posted: Sat Aug 14, 2010 12:26 am
by anniebrion
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:
Re: Can't get a filter to trigger on an e-mail address?
Posted: Sat Aug 14, 2010 3:58 pm
by murdock_notSPAM
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.
Re: Can't get a filter to trigger on an e-mail address?
Posted: Sat Aug 14, 2010 9:33 pm
by rusticdog
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.
Re: Can't get a filter to trigger on an e-mail address?
Posted: Sun Aug 15, 2010 12:35 am
by rusticdog
I came across the support ticket you'd posted.
If I use the one Annie posted (following) it works, if To: Contains Regex..
Re: Can't get a filter to trigger on an e-mail address?
Posted: Sun Aug 15, 2010 2:42 am
by murdock_notSPAM
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!
Re: Can't get a filter to trigger on an e-mail address?
Posted: Sun Aug 15, 2010 2:51 am
by rusticdog
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]
Re: Can't get a filter to trigger on an e-mail address?
Posted: Sun Aug 15, 2010 5:22 am
by murdock_notSPAM
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...
Re: Can't get a filter to trigger on an e-mail address?
Posted: Sun Aug 15, 2010 5:27 am
by stan_qaz
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!