« How to deal with Nigerian fraud - hilarious | Main | Take spammers to small claims court- and win! »

February 28, 2003

Junk filtering rules with Mail

I've been watching my junk mail filter on the OS X Mail program and notice that every few days it fails to catch spam from senders it previously rejected.
I have mine set on "Automatic," after I ran it for a day or so in "training" mode.
But what's not clear is whether incoming spam that I so mark as "junk" gets properly identified so that future spam from that sender is automatically moved to the junk folder. Does it keep learning in "automatic?"
In preferences, other rules can also be set so that, say, ALL e-mails from certain addresses get bounced. But the instructions are brief and vague. Do the other user-defined rules work in the "automatic" setting, too, or does only the "custom" setting have to be used for the additional rules to kick in?
And if used in the "custom" setting, is the junk mail filter still operating?
It would be nice if someone posted a template of the exact way the Mail rules should be configured for a variety os situations - like blocking a specific e-mail address, marking as junk e-mails containing specific words, or rejecting e-mails with certain subject lines.


in Software | TrackBack (0)

Comments

I'm pretty sure Mail doesn't keep learning once it's no longer in training mode. I say this because, a couple of weeks ago, I got the same spam 6 or 7 times over a couple of days, and each day, I marked it as junk and at no point did Mail ever learn that it was, indeed, junk. And items that I've marked as "not junk" are still coming in as junk and I can't get Mail to learn that it isn't junk.

What bothers me is that if you change the slightest setting in the junk rule, even if you have it set on train initially, it turns training off. I guess I'm going to have to reset it to the default, put it back into training mode, and run it for a week or so.

All my other filters are working perfectly, though.

Posted by: Natalie at February 28, 2003 09:32 AM

I stopped using Mail back in, I don't know, October and went back to Entourage because at the time iCal simply didn't work and Mail was blocking my favorite listserve and I couldn't figure out how to tell it to let them through.
I'm recently tempted to try again, just because Entourage is getting a bit buggy and if I had a choice, I'd be M$ free. I have a choice now it seems.

Posted by: Heifer at February 28, 2003 09:57 AM

As I understand it, the Bayesian filtering Mail does is a lot more intelligent than blocking based on key words or known email addresses. It can take several weeks to train Mail's spam filter -- and it is supposed to keep learning as you continue to use it. Bayesian filtering tracks key words and gives each a score based on whether it is more likely or less likely to appear in a mail you label spam or one you keep. This takes time. In the end, each incoming message gets a score based on the mix of words (including the subject and probably the sender's domain as well, although the latter is just a guess) and marks anything above a certain score as junk mail.

Clever, but you have to give it time. I'm using Mail with 3-4 very heavily spammed addresses and it's still got a lot of learning to do. Most spam still comes in unmarked, but a bit more is getting the brown junk mail label -- and a bit more real email is getting the "false positive" treatment.

Give it at least a month to learn what you consider legitimate email vs. spam. Things should improve quite a bit after than.

Posted by: Dan Knight at February 28, 2003 11:20 AM

In Mail's preferences, you can create "rules" to filter your mail. The rules are evaluated in the order they are listed, and as soon as a message matches one rule, that rule is applied and no other rules are evaluated. Junk is usually the last rule. So if a message is caught by a rule before it gets to the junk filter, it will never be considered junk. You can drag the rules around to prioritize them.

So, for example, if I had the following rules:

1) if FROM contains "foo", transfer to folder "In"
2) if FROM contains "bar", bounce to sender

Then a message from [email protected] would go to the inbox. A message from [email protected] would be bounced to sender. A message from [email protected] would go to the inbox, because it matched rule #1, so Mail does not consider rule #2.

So you can create your own rule to bounce messages from a particular source and put it before the Junk rule. You can also make a rule to transfer any mail from mailing lists you recieve to go to your inbox and prevent them from going through the Junk rule.

Oh, and Mail continues to learn from your Junk mail, as long as you hit the "Junk" button on any spam you get, and hit the "Not Junk" button on anything that goes to your Junk folder which should not have. The only difference between training and automatic mode is that in training, spam goes to your inbox, and in automatic, spam goes to your "Junk" folder.

Posted by: David Hovis at February 28, 2003 01:31 PM

Even if the Junk filter isn't perfect, Microsoft Outlook doesn't have a filter at all (they have on in the 2003 beta but its in beta).

Posted by: andy at February 28, 2003 02:01 PM

My experiences with the Mail junk filter have been great. After many months of use it works extremely well. Less than once a month a real message is falsely labeled as junk and maybe once a week I get a spam message not evaluated as junk. About 60 to 80 messages a day get evaluated as junk.
I rely on this for my work and am very happy with the performance.

Posted by: John at February 28, 2003 09:17 PM

Try POPmonitor. You can make your own filters in no time and you don't even have to take up the bandwidth to download spam, it just deletes it from the server! Takes two or three weeks to train it but once trianed I see only one or two spam messages a week that get through. They only get through once and after a simple filter update are never seen again.

seeya
dxtr

Posted by: dxtr at March 1, 2003 03:13 PM

That was a great reply from David Hovis. Fourth one down from the top. I have one, only one, piece of spam that refuses to be labeled as junk and appears nearly every day. Very well coded little bugger there, to always avoid the filter. I'll have to try his Rules suggestion. Everyhting he said after that echoed exactly what I was thinking.

Posted by: Anthony Moore at March 2, 2003 10:02 AM

The Junk feature of Mail used to work perfectly since it first came out. I rarely ever had a junk message enter my inbox, and never found a legit letter in my junk mailbox.

BUT, over the past month or two, I've been getting one or two messages missed EVERY day! :( Why is it getting worse?

Posted by: Harv at March 6, 2003 08:16 PM

I might be wrong here but I don't seem to see a "Bounce to sender" option when I'm setting up my rules in Mail.app. Are we absolutely sure that exists? If not could someone write an applescript to bounce the email back, then the rule could run that. Anyone know AS? =)

Posted by: Simpolman at May 21, 2003 02:42 AM

Yeah, I don't see a bounce to sender option either. I know it's gotta be possible, anybody have an applescript for that?

Posted by: james at July 25, 2003 01:55 AM

please email me if any of you find of one -- me at bozzysworld dot com

Posted by: james at July 25, 2003 02:10 AM

Quick Links


    mike!

Google

Web This site

Site Credits