Anti-Spam

Jul. 3rd, 2003 01:32 pm
andrewducker: (Default)
[personal profile] andrewducker
Having seen numerous articles on Bayesian Spam Filtering, I decided to take a leap and see what it could do for me.

I snagged a copy of POPfile, followed the incredibly simple install instructions and downloaded my mail. during installation I'd given it the name of 4 "buckets" I wanted mail put into - spam, friends, livejournal and general.

I also told it that I didn't want it putting the name of the bucket at the start of the subject line (so all spam mails would have [spam] in the subject line), but to instead put the bucket into the email headers (where it wouldn't be seen). My email reader The Bat happily filters based on header information and I didn't see why other people should have to put up with subject lines being mangled in replies.

Of course, the first time I ran the software it had no idea where the emails should go, as I hadn't trained it at all. It therefore filed them all in bucket numer one, which happened to be "spam". I then opened the User Interface (web based and very easy to use) and went through all of the non-spam emails, telling it what group they should belong in. I also set up filters in The Bat to put emails from each bucket into their own folders.

Once I'd initially trained it on about 20 emails, it's managed to spot livejournal posts perfectly (they obviously have enough in common to be simply spottable), spam near perfectly (no false negatives, only the occasional false positive) and friends fairly well (Joe and Mike are now both recognised instantly as friends, and it'll learn the rest of you as I get emails from you).

It's not perfect (yet), but it's doing a darn good job and I'm confident that as I feed it more email it'll get better and better. Apparently I should only touch it when it categorises something incorrectly, so I happily predict that by this time next week I'll pretty much have forgotten it's there.

Oh, and for all you wierdos that don't use Windows - it's Perl based and installs on Macs and Linux...

Highly recommended

Date: 2003-07-03 05:57 am (UTC)
From: [identity profile] protempore.livejournal.com
Yes sir, that POPfile is some good stuff.
I upgraded to a newer version on June 11, and reset my stats then . . . so, my current stats as of June 11 are:

Messages classified: 3,334
Classification errors: 40
Accuracy: 98.8%

Not bad, not bad at all.

Date: 2003-07-03 06:09 am (UTC)
From: [identity profile] protempore.livejournal.com
My setup is fairly similar to yours, actually.
I've got a bucket for personal mail, and one for spam;
then, in between, I've got one for livejournal and one for lists. I was impressed that it was able to learn to differentiate the 'lists', as it's just bulk-mail that might be of interest, from companies or sites I"ve subscribed to -- but POPfile seems to be able to work highly accurately, even if the lines between buckets are thinly drawn.

Date: 2003-07-03 06:14 am (UTC)
From: [identity profile] kpollock.livejournal.com
Not much good to me who reads most stuff at work and so relies mainly upon web-based mail clients.

I'd have to read my mail at home to filer spam.

Date: 2003-07-03 06:51 am (UTC)
From: [identity profile] allorin.livejournal.com
Doesn't Outlook Express do most of that?

Date: 2003-07-03 07:05 am (UTC)
From: [identity profile] allorin.livejournal.com
OK, minus the Spam recognition - but that's why I have Norton Internet Security (also for the Firewall/AV software).

OK, so you can get a decent firewall for free, and less decent AV software for free, but Norton IS integrates everything I want/need for £30. Hardly bank-breaking.

Outlook does allow folders, and condition-based filtering - so with Outlook and Norton IS, I think I have the same functionality you do, yeah?

Also, because Outlook allows condition-based filtering, you can train it to filter out spam after a while too.

Don't get me wrong, this wee package sounds fine, it just doesn't strike me as anything particularly ground-breaking. Or am I missing something?

Date: 2003-07-03 08:00 am (UTC)
From: [identity profile] allorin.livejournal.com
Norton's spam-filtering is super-effective. Though it classifies one particular monthly email, which I can't remember right now, as spam when it's not, and I can't work out how to get it NOT to do that. But that's probably just me - and it IS only that one email.

What do you have against Outlook?

Re:

Date: 2003-07-03 12:01 pm (UTC)
From: [identity profile] allorin.livejournal.com
"I receive email from two different accounts and want to keep it separate, so when I reply to email to one account it comes from that account. Outlook doesn't make thateasy."

Not sure what version of Outlook you have, but I've been running two accounts in Outlook ever since I got broadband, and it's a dawdle. Replies via either account are selected via a drop-down. Actually, it couldn't be any simpler.

As for your other three points, I'll give you the first two, but signatures are just a vanity that I can live without.

Date: 2003-07-03 09:00 am (UTC)
From: [identity profile] cleodhna.livejournal.com
I find that Mail - the client that comes integrated with Mac OS X - works a treat. It includes a Bayesian spam filter that's pretty accurate and has pretty clearly definable rules for filtering stuff.

August 2025

S M T W T F S
      1 2
3 4 5 6 7 8 9
10 11 12 13141516
17181920212223
24252627282930
31      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 14th, 2025 05:51 am
Powered by Dreamwidth Studios