Slashdot Mirror


Paul Graham on Fighting Spam

Ramakrishnan M writes "Paul Graham, the Lisp Guru is back with a great technique to fight spam. It is based on trust matric, and he claims, only 5 out of 1000 spams got leaked out of this system with 0 false positives. Worth looking at."

264 of 675 comments (clear)

  1. Absolutely..... by reaper20 · · Score: 2

    I propose we define spam as unsolicited automated email. This definition thus includes some email that many legal definitions of spam don't. Legal definitions of spam, influenced presumably by lobbyists, tend to exclude mail sent by companies that have an "existing relationship" with the recipient.

    This needs to happen, just because I buy a book from a company doesn't mean I want their stupid monthly mailing list.

    This seems very similar to Spamassassin, which alot of us are using with great success.

  2. I heard about this! by WilliamsDA · · Score: 2, Funny

    I got an email last night about this! Also, it asked me to help out his Nigerian cousin...

  3. Filter for color ff0000 by geekoid · · Score: 2

    of course! it sounds so obvious now.
    jeez, that alone would cut down on spam, cross reference that with my trusted address book, and I'll probably be ably to filter all spam.
    I have that feeling you get when you've been stuck with a problem, and some guy looks at the code for about 2 seconds and finds a problem.

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  4. If you use Outlook... by Anonymous Coward · · Score: 2, Informative

    (Yeah, yeah, I know...)

    But if you do, check out Cloudmark's SpamNet. I've been quite please with it's ability to stop spam, and it gets better the more people that use it.

  5. Ok, that is hot.... by Vengie · · Score: 4, Insightful

    1) Lisp...ever since i ran into scheme, I have _loved_ the concept of lisp based languages. A nice Hoo-ha to anyone who says there are no practical applications of lisp based languages. (except haskell...which personally, i think sucks! if one of our own professors hadn't invented it, it would be dead by now) 2) _0_ false positives. I'm perfectly happy to settle with "some small number of spams getting through" given there are NO false positives. Early on in the article he states that he realizes this is a critical problem, and from the start keeps no false positives as a goal. It is far better to have no false positives then to have 100% no-spam rate with that in mind... 3) the statistical word analysis is really interesting..."describe" is innocent. unfortunately....what happens when a few smart spammers get their hands on this analysis *sigh*

    --
    When in doubt, parenthesize. At the very least it will let some poor schmuck bounce on the % key in vi. (Larry Wall)
    1. Re:Ok, that is hot.... by Vengie · · Score: 2

      I was referring to the spam filtering software. I realize spam is an evil that must be fought at the source -- while I _do_ wish for the eventual removal of ALL spam, in assessing a SPAM FILTERING software package, the critical element is the false positives. I'd rather have a software package that has 50% filtering and 0 false positives then 100% filtering and 1 false positive. I _never_ want to miss an actual email directed at me.

      --
      When in doubt, parenthesize. At the very least it will let some poor schmuck bounce on the % key in vi. (Larry Wall)
    2. Re:Ok, that is hot.... by Plutor · · Score: 5, Insightful

      1) [...] A nice Hoo-ha to anyone who says there are no practical applications of lisp based languages. (except haskell...which personally, i think sucks! [...])

      You ridicule people who dismiss the usefulness of your personal "favorite" language, and then you dismiss the usefulness of one particular language that you happen to dislike? That's a bit hypocritical.

      3) [...] what happens when a few smart spammers get their hands on this analysis[?]

      Paul covers this. First, he suggests that each user's filters should be personalized, so that any spammer would not be able to circumvent everyone's filters. Second, the filters would be continually learning, possibly dumping older words from the corpus in favor of newer ones. And third, even if a spammer put at the end of his spam "describe describe describe describe", this still wouldn't work; the basic premise of the filter is that the spammer HAS to tell you what he's selling, and in the process of doing that, gives himself away as a spammer.

    3. Re:Ok, that is hot.... by jglow · · Score: 2, Interesting

      the good thing about his method is that even if a spammer gets a ahold of his analysis, the more span recieved with those words, it will slowly bump the likelyhood of it actually being a real email.. thus dumping those messages into the spam box.

      --


      There's no "I" in Linux.. err..
    4. Re: Ok, that is hot.... by Black+Parrot · · Score: 2


      > 2) _0_ false positives. I'm perfectly happy to settle with "some small number of spams getting through" given there are NO false positives.

      Also, you can stack NFP filters in series, so that each tries to catch any junk that the earlier ones missed.

      --
      Sheesh, evil *and* a jerk. -- Jade
    5. Re:Ok, that is hot.... by shayne321 · · Score: 3, Informative

      I'd rather have a software package that has 50% filtering and 0 false positives then 100% filtering and 1 false positive. I _never_ want to miss an actual email directed at me.

      I have to respectfully disagree here. First, you should NEVER trust an automated mechanism to delete e-mail before you open it (I'm not say you are, just saying it should never be done). When e-mail comes in to my inbox generally it's a user problem or network down situation.. Mozilla beeps at me, and I drop what I'm doing to see what e-mail has just arrived. If it's spam, I've wasted the effort in loosing my train of thought on whatever I was working on, plus whatever amount of time it takes me to refile it in my spam folder and adjust my filters so it doesn't happen again.

      Using spamassassin, I filter all e-mails marked as spam off into a "spam" folder which I browse through about once a day at the end of the day just to be sure no legit e-mail has been filed over there. Takes only a second, and generally if the e-mail is "spammish" enough for spamassassin to file it over there it's not an important e-mail, but maybe a package ship notice from UPS, or an order update from amazon.com (though with effective whitelisting you can reduce how often this happens).

      Not trying to change your opinion, just wanted to offer an alternate viewpoint. IMHO this is one of the things that makes spamassassin so good is that you can alter your threshold, so that if you can live with some false-positives but hate spam, you can use a lower threshold. If you can live with some spam and never want to miss "legitimate" e-mail, you can use a higher threshold.

      Shayne

      --
      Today I didn't even have to use my AK; I got to say it was a good day -- Icecube
    6. Re:Ok, that is hot.... by madfgurtbn · · Score: 2

      Even better, it can differentiate between good and bad spam. That is, over time, it would be able to decide if a certain kind of spam was on-topic for you. It would be nice if they could add something like this to a search engine so when you you click on a link in Google and it turned out to be off-topic for you you could add it to the "spam" corpus for you. It would personalize your results over time so it would learn what you are looking for when you use search terms with multiple meanings, and help week out all the websites that are little more than key-word spam.

      --
      Send lawyers, guns, and money. Dad, get me out of this.
    7. Re:Ok, that is hot.... by Myco · · Score: 2

      I have a dream that one day programming languages will be judged not by their checkered pasts, but by their suitability to the task at hand.

    8. Re:Ok, that is hot.... by Jucius+Maximus · · Score: 2
      "First, you should NEVER trust an automated mechanism to delete e-mail before you open it (I'm not say you are, just saying it should never be done)."

      I think that you are not entirely correct here.

      About 1 year ago I was automatically subscribed to (one of many) listservs at my university along with everyone else in the engineering faculty.

      Apparently, for most of the people it was their first time on a listserv. Furthermore, the way this one was (badly) set up, the default 'reply-to' address was listserv@myuniversity.ca. Yes, this is a recipe for trouble.

      Of course some grad student innocently sent out a message with the subject "SUBJECTS NEEDED" because they needed test subjects for their grad work. Naturally, a whole whack of people replied and then replied to those replies, sending hundreds of messages called "re: SUBJECTS NEEDED" over the listserv.

      I quickly set up an auto-delete for that subject and it never came back to haunt me. (My dialup was being saturated by all the responses.) Thus, I think it's safe auto-delete when you are protecting yourself from newbies who don't know how to handle an e-mail client.

      (Still, it wasn't as bad when some idiots started signing up the list for hetero and homosexual pr0n-in-your-mailbox sites, but that's a different matter.)

    9. Re:Ok, that is hot.... by RevAaron · · Score: 3, Insightful

      Most people here on /. would say that same thing about Lisp-related languages that you do about Haskell. Esp that they were forced to use it, to their detriment, in an intro CS class, or perhaps in AI. I love Lisp myself, but I also think Haskell is quite interesting, and also can be very useful.

      There's no difference between you, "L1sp rules und haskell dr00ls!" and all the slashkiddiez on here that say "perl and C 0wnZ j00! fsck lisp!"

      --

      Working toward a usable PDA environment in the spirit of Newton OS: Dynapad
    10. Re:Ok, that is hot.... by William+Tanksley · · Score: 2

      I'd rather have a software package that has 50% filtering and 0 false positives then 100% filtering and 1 false positive. I _never_ want to miss an actual email directed at me.

      I have to respectfully disagree here. First, you should NEVER trust an automated mechanism to delete e-mail before you open it (I'm not say you are, just saying it should never be done).


      I don't see how you're disagreeing -- he's saying that he wants to see less spam but ALL of his real email, and you're saying that you don't want to automatically delete any email.

      Okay, use this software to move spam to a folder rather than deleting it. Difference solved.

      -Billy

    11. Re:Ok, that is hot.... by shayne321 · · Score: 2

      I don't see how you're disagreeing -- he's saying that he wants to see less spam but ALL of his real email, and you're saying that you don't want to automatically delete any email.

      Well, he was saying he'd rather see spam than false positives, I'm saying I'd much rather see false positives (as long as they're still available in another folder) than spam in my inbox... Just a personal preference.

      Okay, use this software to move spam to a folder rather than deleting it. Difference solved.

      Yup, that was mostly my point, except that this technique seems more geared towards eliminating (or minimizing) false positives at the expense of letting some spams slip through. Spamassassin can be configured either way (well mostly, it's not 100% perfect but it's close).

      Shayne

      --
      Today I didn't even have to use my AK; I got to say it was a good day -- Icecube
    12. Re:Ok, that is hot.... by William+Tanksley · · Score: 2

      Hmm. I can't see your previous message saying that. All I see is a statement that you'd rather not delete the spams just in case one of them was a false positive. But anyhow, what you're saying makes sense, I think. But I still see a problem.

      I guess I see now what you were trying to say -- that you know an easy way to _tolerate_ false positives. I disagree; you know a way to tolerate false positives ONLY when there's a small number of positives. Some people get WAY more spam than you do; any false positives for them would make a spamcatcher useless, since they wouldn't have the time to scan though the junk.

      A spamfilter which had no false positives would be 100% beneficial, even if it had false negatives, because it wouldn't lose any important data; you could _always_ run it to reduce the amount of noise, and then if you wanted to reduce false positives using your method you could run another filter which was meaner.

      You'd wind up with a much less full spambox, and no lost messages.

      -Billy

    13. Re:Ok, that is hot.... by RevAaron · · Score: 4, Interesting

      I'm not sure if I'd characterize Haskell as an aborted brain child. Some people use Haskell. Some people like it. At a lot of schools in the US at least, they teach Scheme, when all the students/faculty have "accepted" C, C++, and Java as "superior" for teaching. Which is blatently bullshit. Algol-kid languages suck, we all know that. (heh, couldn't help it) But the point still stands.

      --

      Working toward a usable PDA environment in the spirit of Newton OS: Dynapad
    14. Re:Ok, that is hot.... by shayne321 · · Score: 2

      A spamfilter which had no false positives would be 100% beneficial, even if it had false negatives, because it wouldn't lose any important data; you could _always_ run it to reduce the amount of noise, and then if you wanted to reduce false positives using your method you could run another filter which was meaner.

      Yeah, I see what you're saying here.. We're just looking at it from two different angles. In your scenario the spamfilter removes much of the noise but doesn't harm the signal. In my case I'd rather remove as much of the noise as humanly possible and look for any signal that may have gotten nabbed too at my convenience. As you said it probably depends a lot on how much signal-hunting you have to do and your other e-mail habits as to which of these camps you fall. In any case I think we can consider this horse dead and beaten. :)

      Shayne

      --
      Today I didn't even have to use my AK; I got to say it was a good day -- Icecube
  6. Easy way to beat spam 100% by Anonymous Coward · · Score: 4, Interesting

    Create an E-Mail address called, say, spam@example.net.

    Put a link to it on your website, but tell people not to use it for anything, E.G.

    <a href="mailto:spam@example.net">Spam trap - don't use me</a>

    Then, it'll get harvested along with all the others on your site. That mail box will fill up with spam, and nothing else.

    What good is that? Well, you've got a ready-made list of messages to filter *out* of your other mail boxes!

    So, just write a script that checks each inbound E-Mail against the spam list. If it matches, you *know* it's either:

    1. Spam

    or

    2. An E-Mail that somebody has also sent to the "Don't use me" address.

    In either case, you don't want to read it, so it gets auto-deleted. Nice.

    Oh, I think I'll patent this, and not tell any of you about the royalty I'm going to charge in 15 years time. Hahahahahahaha!!!

    Oh, by the way, first post, first post... NOT!

    1. Re:Easy way to beat spam 100% by shayne321 · · Score: 2

      What good is that? Well, you've got a ready-made list of messages to filter *out* of your other mail boxes!

      WOW, what a *great* idea! What if you could make it so that it knew not only about spam sent to your spam trap, but spam sent to thousands of spam traps and real users? Oh wait, that exists already. Look at Vipul's Razor and DCC.

      Shayne

      --
      Today I didn't even have to use my AK; I got to say it was a good day -- Icecube
    2. Re:Easy way to beat spam 100% by phamlen · · Score: 2, Informative
      Well, you've got a ready-made list of messages to filter *out* of your other mailboxes

      This doesn't work because spam messages are not identical. That's the whole problem in a nutshell - how do you determine that one email matches another?

      1. Spammers routinely change the wording/spacing/non-essential elements in a message so that they don't match exactly.
      2. If you cut down to searching for "parts of a message", then you're back to "content-filtering".
      3. the same thing occurs if you check for email address, etc.

      Also, it's worth noting that BrightMail and other companies have been using "spam honeypots" for years. Their effectiveness isn't very good.

      What is interesting, though, is that you could use this technique extremely powerfully with the Bayesian filter. Instead of writing a script for yourself, have the script automatically move the message into your "spam" corpus. You'll get your spam blocking up hugely without every having to see spam.

    3. Re:Easy way to beat spam 100% by danro · · Score: 2

      If you don't expect any Lynx or other text only browsersusers to visit your page you could even use CSS to cause the browser never to display the link to the user at all. Works in all modern, (and even not so modern browsers, like NS4) .

      So, your visitors doesn't even need to look at your little honeypot as their user agent won't render it. Harvesters however will probably get it anyway, since there are lots of reasons why a legit adress would not be displayed all of the time.

      Come to think of it, text only browsers isn't really a problem. Anyone using Lynx or is probably smart enough to not use a "I'm a spam trap" link anyways...

      Happy spam hunting, boys and girls!

      --

      "First lesson," Jon said. "Stick them with the pointy end."
    4. Re:Easy way to beat spam 100% by alcmena · · Score: 4, Funny

      if you like, can put things like "don't use me" in the ALT attribute of the image to avoid curious people that browse in text/disable graphics mode.

      Better yet, use the alt text "CLICK HERE!" and everyone will assume it's some sort of ad and they will refuse to touch it with a ten foot pole. "CLICK HERE!" is like the web version of the radioactive symbol.

    5. Re:Easy way to beat spam 100% by asackett · · Score: 2
      I use slashdot@artsackett.com for this very reason. It catches anywhere from a half dozen to about two dozen spams each day. The delivering IP address is automatically added to my local DNS blocklist without a human being ever being forced to delete the message.

      I also use ORBS, spamhaus, and others, and on a typical day, I receive three or four spams, and block 74 to 76. My logs rolled seven hours ago, and already I've blocked 25, received two.

      --

      Warning: This signature may offend some viewers.

    6. Re:Easy way to beat spam 100% by mikeee · · Score: 2

      I think you have something here... we can use pop-up adds to mark the long-term nuclear waste respository!

  7. only 5 per 1000? by jeffy124 · · Score: 2, Funny

    that means CmdrTaco reduces his spam intake to around 500/day.

    --
    The One Rule Of Chess You'll Ever Need: Don't play someone who carries a kit in their bookbag.
  8. A weak point... by tomknight · · Score: 2
    One question that arises in practice is what probability to assign to a word you've never seen, i.e. one that doesn't occur in the hash table of word probabilities. I've found, again by trial and error, that .2 is a good number to use. If you've never seen a word before, it is probably fairly innocent; spam words tend to be all too familiar.

    Sadly once the spammer knows this method's being used, he'll start chucking in obscure (but valid) words... ah well, maybe at least spanm will start getting interesting to read, assuming the spammer tries to use the word in context.

    "Buy my superlatively efficacious mail list."

    Maybe not...

    Tom

    --
    Oh arse
    1. Re:A weak point... by sebi · · Score: 2, Interesting

      You should have continued to read the article.

      To beat Bayesian filters, it would not be enough for spammers to make their emails unique or to stop using individual naughty words. They'd have to make their mails indistinguishable from your ordinary mail. And this I think would severely constrain them. Spam is mostly sales pitches, so unless your regular mail is all sales pitches, spams will inevitably have a different character.

      Basically the only way to get around this proposed method of statistical analysis ist to completely change the way spam copy is written. But changing that would basically defy the whole point of spam. If, to get through a filter, you had to stop writing sales pitches, then why spam in the first place?

    2. Re:A weak point... by tomknight · · Score: 3, Insightful
      Yes, I'll admit I hurried in with the comment there. Stupid ;-)

      Spammers would learn to adapt, and the sales pitches would change character/format. The sales pitch will still be that, but it'll be more cleverly designed - it may be hard to do, but people will manage it. having said that, this method does look like it could be worth implementing - maybe even on the mail server...

      Tom.

      --
      Oh arse
    3. Re:A weak point... by sebi · · Score: 2

      A quick quote from a recent /. story:

      If you don't think the filters and blacklists work, one spammer whines, "My operating costs have gone up 1,000 percent this year, just so I can figure out how to get around all these filters."

      Spammers might learn to adapt as long as it makes economic sense. Remember: With this kind of statistical analysis this time around the Spammers have to play catch up with the filters instead of the other way around...

    4. Re:A weak point... by tsg · · Score: 2, Insightful

      but it'll be more cleverly designed

      Ding ding ding ding &ltpoints at nose&gt.

      I think you've hit the nail on the head. Simply requiring that spam be cleverly designed should get rid of 99% of spammers.

      --
      People's desire to believe they are right is much stronger than their desire to be right.
    5. Re:A weak point... by plover · · Score: 2
      Not necessarily.

      Spammers could start with the simple "leet" misspellings of their pitch words: 'Ea$iest way to get a j0b.' They could rotate these or generate them on the fly with a suitable mailer. 'Easies+ way to 6et a jo8' and 'Eas!est way to ge+ a j*b' are all variations that would pass the spam filters once (although they're not terribly effective.)

      But the serious threat will come next in the form of the abomination that is Unicode. There are an infinite number of combinations of foreign letters that look 'Roman enough' that the casual user would have no trouble reading. The whole pitch would be crafted from randomly generated unicode look-alike letters. These words would then never appear twice in a dictionary.

      A related problem bit me this very morning. I was debugging some printed text that someone had cut-n-pasted from a Word document into a field on their maintenance web page. Turns out Word had used the unicode character 0x2019 to represent an apostrophe, but the Microsoft-provided wcstombs() function choked on it, unable to translate it into a recognizable 8-bit printable equivalent.

      So there will be ways around these filters. The question is now how long it will take for the spammers to start trying to beat them? I don't think they care about hitting every last hacker's inbox, but I do think they need to avoid ISP-level spam filtering.

      --
      John
    6. Re:A weak point... by Tablizer · · Score: 2

      Basically the only way to get around this proposed method of statistical analysis ist to completely change the way spam copy is written. But changing that would basically defy the whole point of spam.

      Not "completely", just enough to get through *sometimes*.

      The thing is, the closer the two grow in similarity, the more false positives will get through regardless of tuning.

      Further, I am not sure the hyperbole of the current crop of spam is that effective anyhow. If they toned it down, it may even be *more* effective.

      Humans (spammers) are still better than AI, and that is the bottom line here. Even if they were the same, false positives would still get thru.

    7. Re:A weak point... by ceejayoz · · Score: 2

      The image thing is already being done, not very widespread just yet, but they're there.

      I imagine it'd be pretty easy, to detect, though. You could, for example, block e-mails with text colors the same as the background. You could also block e-mails with images (I hate HTML e-mails anyways...).

  9. Re:This is wrong. by morgajel · · Score: 2, Insightful

    "if you outlaw spam, the only people with spam are outlaws..." er something.
    anyways, what I was going to say is ok, US outlaws spam. now what? sue korea as a whole? how about china? nigera?

    laws don't mean shit.
    you need to go after the people making MONEY off spam, not the spammers. Most of them are US "businesses". ...and I use the term 'business' loosely.

    --
    Looking for Book Reviews? Check out Literary Escapism.
  10. This is not news ... by dougmc · · Score: 5, Informative
    The statistical approach is not usually the first one people try when they write spam filters. Most hackers' first instinct is to try to write software that recognizes individual properties of spam.
    And he's correct. A few years ago, most spam filters did look for individual properties of spam.

    BUT, now, the best spam filters out there already use statistical properties. Spamassassin does this, for example, and it works *extremely* well. Before I found Spamassassin, I had a huge procmial recipe that used it's scoring mechanism to do basically the same thing -- but of course spamassassin does it better, so I switched :)

    1. Re:This is not news ... by wsloand · · Score: 2, Insightful

      BUT, now, the best spam filters out there already use statistical properties. Spamassassin does this...

      Spamassassin (as he addressed) does not do this, it gives individual items a score. His method dynamically scores items based on the message. You could use his filter as a plugin for Spamassassin, but with the numbers he's talking about you wouldn't need anything other than his system.

      Bill

    2. Re:This is not news ... by Tablizer · · Score: 2

      (* Currently in 2 weeks of use: 1351 good, 650 spam, 6 false positives, and 21 missed spams. *)

      Did you have to read all 650 spams to find the false positives?

      That is the problem; either you check everything anyhow, or are in constant paranoia of losing something important.

    3. Re:This is not news ... by DVega · · Score: 3, Informative

      Bayesian filters for spam have extensively been studied and compared in the last few years.

      Recently more filtering methods have been studied.

      It's good to see someone implementing these techniques

      --
      MOD THE CHILD UP!
    4. Re:This is not news ... by AnotherBlackHat · · Score: 2
      (* Currently in 2 weeks of use: 1351 good, 650 spam, 6 false positives, and 21 missed spams. *)

      Did you have to read all 650 spams to find the false positives?

      That is the problem; either you check everything anyhow, or are in constant paranoia of losing something important.


      Well, you could combine a content filter with a challenge system, and challenge anything you thought was spam.
      That's what Spamwolf does.

      -- Stop Spam Now, Ask Me How
    5. Re:This is not news ... by pjrc · · Score: 2
      If spam assassin could be taught with the same database, it would probably perform almost identically.

      Perhaps you missed the numerous times that he pointed out the advantage of the analysis automatically discovering the spam probability of ALL words, instead of a predetermined list shipped with the filter (as in spamassassin).

      That said, I use Spamassassin and it really works well... but I found that I had to set my threshold up to 7.5 and lower the points from some of the rules to avoid false positives from students in India and other countries who ask questions about the circuits and code on my website (many of their ISPs are in blacklists and they hit various rules for various reasons).

    6. Re:This is not news ... by Tablizer · · Score: 2

      (* Well, you could combine a content filter with a challenge system, and challenge anything you thought was spam. *)

      But challenges can be used to confirm/find valid target addresses.

  11. Major geek bias there... by Kaa · · Score: 5, Funny

    From the article:

    Based on my corpus, "sex" indicates a .97 probability of the containing email being a spam, whereas "sexy" indicates .99 probability. And Bayes' Rule, equally unambiguous, says that an email containing both words would, in the (unlikely) absence of any other evidence, have a 99.97% chance of being a spam.

    Hmm.... take an average adult geek and yes, an email mentioning sex or sexy can go to /dev/null immediately without as much as a second glance... :-)

    On the other hand if you run the statistics on email of an average horny teenager, the probabilities might get a bit different.

    --

    Kaa
    Kaa's Law: In any sufficiently large group of people most are idiots.
    1. Re:Major geek bias there... by LordNimon · · Score: 2, Funny

      But what about the (unlikely) situation of a geek getting a girlfriend? All of her steamy email will be flagged as spam, and then she'll get upset and dump him. Oh, the irony!

      --
      And the men who hold high places must be the ones who start
      To mold a new reality... closer to the heart
    2. Re:Major geek bias there... by tongue · · Score: 2

      On the other hand if you run the statistics on email of an average horny teenager, the probabilities might get a bit different.

      Most teens i know are still naive enough to call it "making love" :).

  12. Re:spamassasin by tomknight · · Score: 4, Informative
    As you appear to have difficulty reading articles, I've give you a helping hand:

    "But the real advantage of the Bayesian approach, of course, is that you know what you're measuring. Feature-recognizing filters like SpamAssassin assign a spam "score" to email. The Bayesian approach assigns an actual probability. The problem with a "score" is that no one knows what it means. The user doesn't know what it means, but worse still, neither does the developer of the filter. How many points should an email get for having the word "sex" in it? A probability can of course be mistaken, but there is little ambiguity about what it means, or how evidence should be combined to calculate it. Based on my corpus, "sex" indicates a .97 probability of the containing email being a spam, whereas "sexy" indicates .99 probability. And Bayes' Rule, equally unambiguous, says that an email containing both words would, in the (unlikely) absence of any other evidence, have a 99.97% chance of being a spam."

    Tom.

    --
    Oh arse
  13. This approach is very easy to defeat by Bazzargh · · Score: 5, Interesting

    Here's how: the spam should be written as a 'multipart/alternative' with an html version of the spam as the primary alternate. The text version contains an innocuous message intended to pass the statistical spam filter. The spam message is entirely contained as an /image/ within the html. The text of the spam becomes invisible to the reader but not to the poor schmuck who gets the email.

    I'm guessing here that the inclusion of a single image tag in the html is unlikely to trigger the spam filter, and supplying a wealth of evidence that the email is 'not' spam in the unseen alternate text will let the letter through.

    1. Re:This approach is very easy to defeat by topham · · Score: 2

      until it gets put into the 'spam' archive and processed where the word "alternate" is set at .99.

    2. Re:This approach is very easy to defeat by Bazzargh · · Score: 2

      Yes, and you stop getting any mail with html in it?

      Some people might consider this a good thing :)

    3. Re:This approach is very easy to defeat by Dr_LHA · · Score: 2

      Actually it'll be very easy to defeat not because of flaws in the system - but because 99.9% of the idiots who use computers will never install spam filtering of this kind. The Clued up computers users who would install this kind of thing are not the type of people who would respond to spam anyway - so it doesn't affect spammers at all.

    4. Re:This approach is very easy to defeat by pmz · · Score: 5, Insightful

      The spam message is entirely contained as an /image/ within the html.

      Thankfully, my e-mail client is set up to not render any HTML in an e-mail. I have yet to send back any information to a spammer via specially-coded image tags and am proud of it.

      HTML-based e-mail is fundamentally insecure and really should be used by no one (except those who simply don't care about privacy). Go here to learn just what a spammer--or anyone who sends you an HTML-based e-mail--can learn about you with just one "click" of your mouse.

      Yes, the spammer can learn what browser version you use, what OS you use, and even what city you live in (via the traceroute). An unusually savvy spammer could use this information to install spyware via known exploits in certain browsers and operating systems.

      In short, HTML e-mail is damn scary knowing that so many people us it not knowing just how much information they are giving away for free!

    5. Re:This approach is very easy to defeat by Dr.+Awktagon · · Score: 2

      Easy to solve, just remove all alternatives except text/plain. Since they are supposed to be the same content, this won't affect normal legit messages.

      That's what I do on my mail, if there are multiple alternatives, and one of them is text/plain, remove the others.

      And I also defang img tags so I wouldn't see the image either. If I didn't use Mutt most of the time, anyway.

    6. Re:This approach is very easy to defeat by Bazzargh · · Score: 2

      I'd like to see the algorithm you propose for that.

      I know in my own company, some of the automated emails have quite independent html and text versions, because simply downconverting the html would produce gibberish, and, for example, would not present links correctly (a text version of an anchor tag is usually the text, plus the something like 'click on this link', plus the url. Doesnt match the html very well.). Ignoring this problem, any attempt at automated checking of the differences would have to deal with user-agent differences and would be a bit of a mess.

      Secondly, theres no problem for a spammer to include the original text, but render it in such a way as to be invisible (eg in the background colour) below the spam image.

      I'm inclined to agree with other posters that whitelists are more of an answer.

    7. Re:This approach is very easy to defeat by Jeremi · · Score: 2
      Actually it'll be very easy to defeat not because of flaws in the system - but because 99.9% of the idiots who use computers will never install spam filtering of this kind.


      That doesn't matter to me -- what matters to me is that I won't have to slog through a bucket of spam every morning. And in any case, you're wrong -- when a filter like this comes standard with MicrosoftOutlook or AOL or whatnot, 99.99% of the idiots will eventually have it.

      --


      I don't care if it's 90,000 hectares. That lake was not my doing.
    8. Re:This approach is very easy to defeat by gwernol · · Score: 3, Insightful

      the spam should be written as a 'multipart/alternative' with an html version of the spam as the primary alternate. The text version contains an innocuous message intended to pass the statistical spam filter. The spam message is entirely contained as an /image/ within the html.

      Yes this would make it more difficult to spot, but notice that he examines the headers as well as the content of the spam. Looking at Mr. Graham's examples a lot of the key words that his filter finds are parts of the header, so you have a good chance that the probabalistic filters can still rule these out.

      The second point, also made in Paul's article, is that part of what you want to do is push up the costs and difficulty of sending spam. Pushing out a million HTML images is much more costly to the spammer than sending out a million text messages. The more costs we can force spammers to bear the less economical it will become to spam, thus reducing the amount of spam.

      --
      Sailing over the event horizon
    9. Re:This approach is very easy to defeat by pmz · · Score: 2

      And by posting information on Slashdot that everyone knows and that the public doesn't care about, you are surely providing a sound solution to the problem of spam.

      Not everyone knows, and not everyone doesn't care. Awareness is an important part of dealing with spam, and posting to Slashdot can be a good starting place to popularize information, such as that about HTML e-mail.

      By not rendering HTML e-mail, I am doing a small part to deter a spammer's success. They use the image tags to build a database of "who reads what", and my denying them that information puts a very small dent in their efforts. Public awareness can make that dent bigger.

      I would like to see statistics about how many unique visitors there are each day to Slashdot. I imagine there are many many thousands (millions?) of readers all over the Earth.

      On top of that, there are at least a few influential people who read, or are at least aware of, Slashdot, and there are many readers from within many big corporations.

      If I say something truly worthwhile, a few moderators out there will recognize that. If I post slanderous crap, I will be treated accordingly. While there is some corporate-sponsored posting and moderation on Slashdot, the noise introduced by it is still too small to drown out honest voices.

      So, if posting something to Slashdot is not a good way to say something to a broad audience, what other forum is better?

    10. Re:This approach is very easy to defeat by shayne321 · · Score: 2

      In the current mozilla nightlies and in the upcomming 1.1 release, there is a preference called "Do not load third party images in HTML e-mail" (or something similar) which addresses 90% of the problems mentioned above. Plus mozilla has the ability to disable java/javascript in e-mail so that probably covers the other 9.99%.

      Just because your e-mail client is braindead doesn't mean everyone has to be afraid of HTML e-mail. Unfortunately as part of my job I have no choice but to receive HTML e-mail from 60% or more of the people I regularly correspond with. I could be indignant and refuse it, or simply use a client which allows me to render it on my terms.

      As an alternative, if you use spamassassin, there's an option called "Defang mime" which changes the mime-type on any e-mail it has identified as spam to text/plain. Of course the downside is when viewing the e-mail all you see is a ton of nearly-unreadable HTML/CSS code.

      Shayne

      --
      Today I didn't even have to use my AK; I got to say it was a good day -- Icecube
    11. Re:This approach is very easy to defeat by pmz · · Score: 2

      Just because your e-mail client is braindead doesn't mean everyone has to be afraid of HTML e-mail.

      I wasn't refering to my e-mail client. It's VM within Emacs and works very nicely.

      I could be indignant and refuse it, or simply use a client which allows me to render it on my terms.

      As I have done. My rant about HTML e-mail is mainly pointed at the shortsightedness of software publishers who put HTML rendering into their e-mail clients. HTML rendering is usually turned on by default, which is the original scene of the crime. This is why I have to write posts whining about HTML e-mail in the first place; if the software were to come better configured, this whole conversation would have never happened.

    12. Re:This approach is very easy to defeat by tongue · · Score: 2

      I think if plugins were available for various email clients that users would use them gladly. I'd certainly use one; and they shouldn't be too terribly hard to write for the major email clients on linux, although I have to admit i have absolutely no idea how to write a plugin for outlook. Although if you asked me, spam and viruses should be regarded as a punishment for using outlook, so i'm not sure i'd want there to be a plugin available for that :).

      as far as defeating it with an image, that's kind of dumb. first of all, the image tag would be regarded as a spam indicator, as would, to an extent at least, the fact that there's an html attachment. additionally the url or image name would indicate a spam factor as well. its not a matter of what words are readable, even the lack of words would be a statistical feature.

    13. Re:This approach is very easy to defeat by j7953 · · Score: 2

      It would be fairly simple to tune his software so that it considers only the header and that part of the email that is normally displayed, i.e. the HTML part (even if your mail software is configured differently, that of most people isn't, so the HTML part is where you should calculate the probabilities). That would be a one-time improvement, without any need to continuously adapt the software to the spammers.

      The HTML part should have a fairly high probability, given that it contains things like "text/html" (he probably should consider a slash as part of a token), "img" etc. that normally don't appear in valid email.

      --
      Sig (appended to the end of comments I post, 54 chars)
    14. Re:This approach is very easy to defeat by AnotherBlackHat · · Score: 2
      Here's how: the spam should be written as a 'multipart/alternative' with an html version of the spam as the primary alternate. The text version contains an innocuous message intended to pass the statistical spam filter. The spam message is entirely contained as an /image/ within the html. The text of the spam becomes invisible to the reader but not to the poor schmuck who gets the email.

      I'm guessing here that the inclusion of a single image tag in the html is unlikely to trigger the spam filter, and supplying a wealth of evidence that the email is 'not' spam in the unseen alternate text will let the letter through.


      What you describe might beat a particular implementation, but I don't think it defeats the approach.

      Just adjust the content filter to check the part of the message that your email client actually displays.
      If your client doesn't display the innocuous part,
      then the innocuous part won't be part of the filtering process either.

      A nastier hack would be to tack the "innocuous" message (or several innocuous messages) to the end of the spam.

      This too can be corrected for, but the approach would need to be improved to consider how humans read things, which is non-trivial.

      Stop Spam Now, Ask Me How
  14. Re:This is wrong. by ceejayoz · · Score: 2

    Spam is wrong, but so's murder. That doesn't stop it from happening.

    We should pursue legal avenues for stopping spam, but that doesn't mean we shouldn't try to block it in the meantime! The article sounds like a phenomenal way of blocking spam.

  15. I wonder... by MartinG · · Score: 2

    what his spam filter would make of his article?

    --
    -- MartinG To mail me: echo kewyjlcxyzvjfxbqwh | tr bcefhjklqvwxyz .@adgimnoprstu
    1. Re:I wonder... by WolfWithoutAClause · · Score: 2
      Why don't you mail it to him and find out? If you don't get a reply he'll have to add one to his false positives ;-)

      Looks like he's at "pg@paulgraham.com"; have fun.

      --

      -WolfWithoutAClause

      "Gravity is only a theory, not a fact!"
    2. Re:I wonder... by kwerle · · Score: 2

      I imagine it would see 'lisp' a bunch of times and let it through.

  16. Re:This is wrong. by tomknight · · Score: 2
    So you're after a world-wide law outlawing spam? Most of mine is currently coming from Taiwan, so that's what I'd need... Please, get real!

    Tom.

    --
    Oh arse
  17. Re:This is wrong. by nougatmachine · · Score: 2
    Yes, because that works so well for heroin. And prohibition worked really well, too. And isn't something like 95% of the trading on KaZaA and Gnutella illegal as well? And all of the child porn readily available on the net?

    Spam, like these things, is going to be extremely difficult to enforce. Laws or no laws, filters will be necessary.

  18. Comment removed by account_deleted · · Score: 5, Interesting

    Comment removed based on user account deletion

  19. "delete-as-spam button" by xipho · · Score: 3, Interesting

    This is the brilliant part, and crucial to the endeavour, and so easy to implement!

    It appears all the nay-sayers here haven't even read the article (no surprise). With as little code as needed to implement this it should be a must in the next mozilla mail/pine etc. code base.

    --

    only infrmatn esentil to understandn mst b tranmitd
    1. Re:"delete-as-spam button" by mattmunz · · Score: 2, Interesting

      Not only is this a great idea, it goes way beyond spam. How about "delete-as-off-topic" or "delete-as-rtfm" buttons specific to a given mailing list? The same algorithm could be used for these cases.

      Take it a step further to organize your entire mailbox. How about "categorize-as-tech-support" or "categorize-as-jboss-related". Many of us already push our email around into folders for the purpose of organization. I can't see why this algorithm can't be used to assist that process as well.

      The power of this system is that it is feedback-based. The software uses known science (statistics) to mold itself to your own preferences, by paying attention to the input that you have to make to use the application in the first place.

      Why do you think there are businesses whose sole function is to track and to report on the input people make to the various machines in their lives (computer/websites/tv/etc.)? This information is powerful and we need more examples of the ethical use of it. Note that his system is completely "individual" and doesn't require sharing user input with others through a central server.

      I haven't read the entire article, but I really think this is a great idea.

  20. Another way to stop Spam by mr.nicholas · · Score: 5, Interesting

    Having had the same email address since '93, I receive close to 1000 spams per day to my personal account (which is also aliased from root/postmaster/webmaster).

    I've tried everything under the planet to reduce the amount that I see in my mailbox; SpamAssassin being one of the best so far. But even that lets through quite a bit (around 10%).

    So I decided to attack it from a different angle. I wrote a series of perl-scripts that I plunked into my procmail file.

    The scripts work by checking the address of the sender each time a message is received. That address is looked up in a database. If it exists in the db, and it's marked as "authorized", it's just passed into my mailbox.

    If it's marked as denied, /dev/null.

    If it's never been seen before, an authentication message is sent to the sender asking them to reply to it to authorize themselves. If that authmessage is bounced back, a db entry is made as "denied".

    If it's replied to in a normal fashion, that email is marked as "authorized" and any queued up mail from that person is pushed out.

    The concept is that spam will almost never have a valid reply-to; so it will bounce and be marked as denied.

    Even if the email doesn't bounce, no spammer alive will reply to it; so after 30 days, that email is marked as "denied".

    Since I've set this up (for myself and my 10-year-old son who receives porn in his box (grrr!!!!)), it has worked flawlessly. The "real" email is unharmed, while the spam is stopped.

    Oh, and I have a web-based control page so that users can manually add email addresses (for lists and such).

    This week, for the first time in YEARS, I don't have spam in my mailbox anymore.

    Hurray!

    No if I can only stop those damned dictionary-based scanning of my servers, I'll be set. Thank the gods that I don't have metered service.

    1. Re:Another way to stop Spam by Mr_Silver · · Score: 2
      The scripts work by checking the address of the sender each time a message is received. That address is looked up in a database. If it exists in the db, and it's marked as "authorized", it's just passed into my mailbox.

      Whilst this is a very good and effective method, for a person on the end of this it's an absolute pain in the butt to go through this palava just so you can send someone one email, get one response and then never communicate with them again.

      I'm not knocking your solution, but personally I'd rather something that didn't inconveniance the legitimate people that do want to contact me.

      (plus, this sort of thing looks rather poor corporate-wise)

      --
      Avantslash - View Slashdot cleanly on your mobile phone.
    2. Re:Another way to stop Spam by Brendan+Byrd · · Score: 3, Informative

      SpamAssassin already has this. It's called automatic-whitelisting.

    3. Re:Another way to stop Spam by Tablizer · · Score: 2

      (* If it's never been seen before, an authentication message is sent to the sender asking them to reply to it to authorize themselves. *)

      Like somebody said, this is inconvenient for the sender. What if you send out resumes (a common task these days) and don't want to inconvience the person who will potentially hire you?

      Perhaps because of just such annoyance-induced unemployement you had 10 years to work on your solution? :-)

    4. Re:Another way to stop Spam by einstein · · Score: 3, Interesting

      that sounds like a great system... any plans to release the code? I'd love to set that up at home.
      ---

    5. Re:Another way to stop Spam by koreth · · Score: 2
      I do almost the same thing, with one tweak: the procmail script that decides what to do with the mail does some keyword/pattern scanning as well as running Vipul's Razor, and it will only push the mail over to my "require a reply" script if it looks like it might be spam.

      The advantage is that I don't have to worry nearly as much about false positives on my spam filters; this system makes them much less expensive than they'd be if I simply tossed all matching mail to /dev/null. It successfully filters out nearly 100% of my spam (75-100 spams a day, of which one or two a week get through.)

      I've had this system in place for a year or so, and in that time, maybe 1 out of 25 legitimate personal messages from unknown senders has required a validation E-mail, so it's not a major inconvenience for a huge number of people.

      Not that I think it's much of an inconvenience anyway, and I have yet to get one complaint. In fact, Slashdot is the only place I've heard anyone complain about it. The comments I've gotten from actual correspondents have been more along the lines of, "I get too much spam too! How do I set up the same thing on my mailbox?"

    6. Re:Another way to stop Spam by LX.onesizebigger · · Score: 5, Interesting
      Even if the email doesn't bounce, no spammer alive will reply to it; so after 30 days, that email is marked as "denied".

      I've seen similar solutions before, and they are all nice and dandy except for one application: when communicating with businesses. What happens when you order a Widget from Acme, Inc. and Acme sends you your confirmation by e-mail? Your script bounces a question, and Acme's mail server either bounces back at you, making it look like it was spam in the first place, or simply doesn't respond at all.

      The system implies that anything not sent by a human being is spam. This is not necessarily the case today. A lot of today's e-mail communications are auto-generated.

      To truly combat spam, it must be fought at the source. One step closer to that would be to integrate a standardized response to the type of message you send out in mail protocols. The problem with this is that all Joe Spammer would have to do is to point his reply-to to a valid business site.

      This brings us to the next point. Forged headers are easy to detect by software and have few (although it would be wrong to say no) legitimate applications. I cannot personally understand why it is not standard operation for mail servers to recognize and bounce messages with forged headers. Sure, it would increase processing load, but if done by all servers, more spam would be stopped closer to the source, meaning less spam to process for all.

      Or am I pulling a thinko here? Anybody?

      --
      I for one welcome our new SCOviet Russian overlords to whom all our base are belong.
    7. Re:Another way to stop Spam by FattMattP · · Score: 4, Informative

      What you've described is exactly what TMDA does.

      --
      Prevent email address forgery. Publish SPF records for y
    8. Re:Another way to stop Spam by Tablizer · · Score: 2

      (* I'm don't think the resume example is valid. I have a separate "resume only" email address because headhunters are only slightly more palatable than spammers. When I'm looking, I read the account. When I'm not it all just goes away... *)

      True, but if one does a lot of contracting or has been out for a long time, then there is not much difference except you have to check 2 places instead of one.

    9. Re:Another way to stop Spam by 21mhz · · Score: 2, Informative

      It already exists.

      --
      My exception safety is -fno-exceptions.
    10. Re:Another way to stop Spam by Tim+Macinta · · Score: 3, Interesting
      I've seen similar solutions before, and they are all nice and dandy except for one application: when communicating with businesses. What happens when you order a Widget from Acme, Inc. and Acme sends you your confirmation by e-mail? Your script bounces a question, and Acme's mail server either bounces back at you, making it look like it was spam in the first place, or simply doesn't respond at all.

      The system implies that anything not sent by a human being is spam. This is not necessarily the case today. A lot of today's e-mail communications are auto-generated.

      Hmmmm... how about if you were to keep a separate address space for emails you expect to be replied to from businesses? I'll use myself as an example. I could use my main address, twm@alum.mit.edu, to receive personal email and block spam using the technique described by the original poster. When I go to order something online, I could make up addresses at my domain twmacinta.com (for example, "spamproof+amazon8291@twmacinta.com") which could be proactively added to a whitelist before I gave them. I actually worked on a system to do the second half of this solution for awhile (the whitelist aliasing) for users without their own domains, but the one drawback to the system is that it wouldn't stop spam on existing addresses. The original poster's solution sounds like it would make a very nice complement.

    11. Re:Another way to stop Spam by ArcadeNut · · Score: 2
      That's the small price we pay to eliminate SPAM. You can thank the SPAMMERS for this.

      I took a little more drastic approach to this problem. I now have an E-Mail Form on my web site that does the emailing. My Main Email address is never posted ANYWHERE, not even in the HTML source.

      I then reply to the email and then they get my email address and they no longer need to go through the form.

      I now have ZERO SPAM.

      --
      Visit the Arcade Restoration Workshop @ http://www.arcaderestoration.com
    12. Re:Another way to stop Spam by bedessen · · Score: 2

      If it's never been seen before, an authentication message is sent to the sender asking them to reply to it to authorize themselves. If that authmessage is bounced back, a db entry is made as "denied".

      It's unfortunate that you do this, since almost all spam emails have falsified 'From:' lines. Most of the time it's probably a nonexistant account on a large provider (@hotmail.com, @yahoo.com, etc.), but sometimes the spammers put a legitimate email address (that of one of their hated foes) on their 'From:' lines, since they know that innocent person will receive hundreds if not thousands of nasty "don't spam me you bastard" replies. I realize that this step is crucial to your method, since the occasional legit correspondant would need to be notified that their mail hadn't gone through and they need to whitelist themselves. But if everyone did what you did, then any poor sap who the spammers dislike would get flooded with thousands of "Please respond if you wish to communicate" autoreplies when a spammer used their address in one of their emails.

      It's another example of something that doesn't hurt the spammers one bit (in that they never supply a valid return address) and costs ordinary regular people time and/or money.

    13. Re:Another way to stop Spam by rgmoore · · Score: 2
      I've seen similar solutions before, and they are all nice and dandy except for one application: when communicating with businesses.

      There's one more aspect to this that both of you seem to have missed; a whitelist assumes that all mail from a specific user is either good or bad. If I buy a part from Acme Widgets, I do want to get things from them like order confirmations and shipping notices. That doesn't mean that I've given them blanket permission to send me ads for their products for the rest of time. Similarly, I might very well want to receive personal email from my relatives but not want to get Aunt Suzy's joke-a-day messages. To eliminate those kinds of messages some kind of content based filtering is necessary.

      --

      There's no point in questioning authority if you aren't going to listen to the answers.

    14. Re:Another way to stop Spam by osolemirnix · · Score: 2
      I've seen similar solutions before, and they are all nice and dandy except for one application: when communicating with businesses. What happens when you order a Widget from Acme, Inc. and Acme sends you your confirmation by e-mail? Your script bounces a question, and Acme's mail server either bounces back at you, making it look like it was spam in the first place, or simply doesn't respond at all.

      The system implies that anything not sent by a human being is spam. This is not necessarily the case today. A lot of today's e-mail communications are auto-generated.

      The Tagged Message Delivery Agent provides solutions to this problem and more. Basically it's a whitelisting mechanism, if the sender is unknown, the mail is "parked", a confirm request is sent and the mail is delivered upon (human) confirmation.

      This leaves problems with auto-generated mails as you describe, but TMDA has more options:
      1. you can use a mailadress that is only valid for a certain amount of time
      2. you can use a mailadress that is only valid for mail from a specific sender domain/mailadress

      So to order something you'd use one of the above and thus avoid sending out a confirmation request. At the same time you can make sure that an adress is valid only for the relationship you intended it for, e.g. if they use it after a transaction is over or sell it to adress harvesters it will not work.

      Check it out, it's really a clever concept IMHO. Of course I completely agree that this shouldn't keep us from fighting spam on other fronts, using RBLs and legal means in addition to filters.
      I just think whitelisting works far better than content filtering.

      --

      Idempotent operation: Like MS software, wether you run it once or often, that doesn't make it any better.
  21. Re:This is wrong. by Stonehand · · Score: 2

    Given that much of my spam is not only /from/ Korea, but /in/ Korean, a considerable amount likely comes from Korean businesses.

    As for what to do? One heavy-handed bit of leverage would be to block /all/ telcommunications from Korea until they develop some responsible marketing laws and enforce them (with, say, a 90-day notice in advance).

    --
    Only the dead have seen the end of war.
  22. Re:Circumvent by clare-ents · · Score: 2


    I guess you never wish to converse with a blind person, or someone who's restricted to a text only medium then?

    --
    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. (Einstein)
  23. Misleading by RainbowSix · · Score: 5, Interesting

    He isn't fighting spam, he is filtering it. There is a difference. Filtering still costs in bandwidth. Fighting it would eliminate the source and free up the gigabytes of bandwidth lost for this marketing purpose.

    Filtering is fine for now, but ultimately it must be fought and defeated.

    --
    --------
    It's OK to be social, just don't tell anyone about it.
    1. Re:Misleading by sebi · · Score: 4, Insightful

      In the long run filtering would eliminate the source as well. Spam has to be payed for by two sides: Both the spammer and the recipient have to pay for the bandwith. The spammer has to pay a lot more though. Spamming is a business that will continue to exist as long as its profitable. If the success rate of Spam drops dramatically due to refining filters than sooner or later Spammers will no longer be able to afford the bandwidth they need.

    2. Re:Misleading by cybermace5 · · Score: 3, Interesting

      Wha...? Did you read the article?

      Filtering == Fighting

      The entire success of spam depends on human eyes reading it. If no one ever sees the spam, then spammers will have no money. Then they'll quit SENDING spam and have to start EATING it! Ahahaha!

      They can have the spam, egg, bacon, spam, CROW, spam, and spam.

      --
      ...
    3. Re:Misleading by RainbowSix · · Score: 2

      As others have said, I don't think filtering will eliminate the source. Sure, people on /. can filter their email, but the people who actually are ignorant enough to buy from spammers aren't likely to be the same kind of people who set up their own spam filters. They are most likely using their run of the mill aol/hotmail/ISP email addresses which have some filters in place, but anybody with a hotmail address knows, they are by no means effective.

      --
      --------
      It's OK to be social, just don't tell anyone about it.
    4. Re:Misleading by Titusdot+Groan · · Score: 2
      This makes the assumption that the people buying stuff from the spammers are only doing it because they don't have good spam filters in place, that some how merely seeing the spam causes them to buy it and if only it could be filtered they would be able to save their money.

      I submit that people who buy junk from email ads are the same people who watch and purchase from infomercials and they want to do it!

      That's why it has to be fought at the source -- because I don't want my ISP spam filtering for me and Joe "Check out my BlueBlocker Sunglasses" Sixpack wants to see this crap.

    5. Re:Misleading by AnotherBlackHat · · Score: 2

      I submit that people who buy junk from email ads are the same people who watch and purchase from infomercials and they want to do it!

      That's why it has to be fought at the source -- because I don't want my ISP spam filtering for me and Joe "Check out my BlueBlocker Sunglasses" Sixpack wants to see this crap.


      Let me see if I've got this straight.
      You're claiming that spam needs to be stopped because most people want it?

      So, are you thinking that what you want should be what everyone wants,
      or are you just hoping for the tyranny of the majority?

      Maybe we should round up all those wrong thinking people and put them in camps or something.

      -- this is not a .sig
    6. Re:Misleading by AnotherBlackHat · · Score: 2
      He isn't fighting spam, he is filtering it. There is a difference. Filtering still costs in bandwidth. Fighting it would eliminate the source and free up the gigabytes of bandwidth lost for this marketing purpose.

      Filtering is fine for now, but ultimately it must be fought and defeated.


      I assume by "it" you mean that spam must be fought and defeated, not filtering.

      The real cost of spam isn't bandwidth, it's our time.

      see- http://spamwolf.com/spaminfo.html#whatcost
  24. Time for a spam contest! :) by stere0 · · Score: 2

    Using Graham's system, write a message that will get a very high mark. The highest mark will win.

    The message has to be understandable English. Please post your entry as a reply to this message.

    --
    Trollem mirabilem hanc subnotationis exigiutas non caperet
    1. Re:Time for a spam contest! :) by Reality+Master+101 · · Score: 3, Interesting

      xIf xYou xCan xRead xThis xYou xHave xWon xA xFabulous xVacation! xClick xHere xTo xRecieve xYour xPrize!

      --
      Sometimes it's best to just let stupid people be stupid.
  25. Filtering text content by gawi · · Score: 2, Insightful

    Great... now that they know, they'll spam me with gifs and jpeg.

    --
    All humans are mortal. Socrates is a human. Socrates is dead.
    1. Re:Filtering text content by dillon_rinker · · Score: 2

      Hopefully it would also start blocking the emails frommy wife's sister's cousin's daughter who emails new pictures of her baby to everyone she knows every day...

  26. Re:spam is a necessary evil by matt_wilts · · Score: 3

    I think that spam is a necassary evil that can be easily controlled. If we make a law to simply ban spam then we might be banning other things like mail lists. I personally recieve NO SPAM in my main account and less than one piece a day in my "junk mail account." That's inluding things that the spam filter catches. All people have to do is to be careful with their e-mail addresses. Spam is not a problem for people who use a modicum of common sense

    Let me tell you, the longer you've been online the more likely you are to get this shite. Remember, it only takes ONE posting of your mail address to a newsgroup (which in my case could have been years ago) and that's it. Then of course you end up on one of these "1 BILION fresh email addresses for $100" lists and you're dead meat.

    Matt

  27. Is this thing patented? by WetCat · · Score: 2

    Can I use that feature for my own (commercial
    or open source) mail client development?

  28. Perl by Mr_Silver · · Score: 2
    This looks like something that could easily be done in Perl.

    Although to be honest, I don't understand how the algorithm works. However I'm sure some enterprising soul can probably work it out and code something (hell I will if someone can explain it in decent mathematical terms).

    All we need then is a repository of spam mail and non-spam mail to "teach it".

    Whatcha reckon?

    --
    Avantslash - View Slashdot cleanly on your mobile phone.
    1. Re:Perl by plover · · Score: 2
      Heh. My delete box for today would serve as my repository.

      I haven't been hurting for spam samples recently... :-(

      --
      John
  29. Best anti-Spam method is TMDA by Erore · · Score: 3, Interesting

    I'm continually amazed at the people who are beating their heads up against a very simple problem. The answer is not statistics, it is not heuristics, it is not AI, it is not procmail.

    The answer is verification...aka whitelists. Check out TMDA, tmda.sourceforge.net. This program assumes you don't want mail from anybody whom you haven't explicitly allowed, or who has verified that they are a real person and not a spammer.

    Verification is simple, and some people will point out that it could be defeated by a spammer. But, the economics of spam do not make it feasible for a spammer to attempt to defeat TMDA.

    TMDA is similar to making your phone number private. You only get phone calls from people you have given your number to, and you never get telemarketers.

    TMDA user since December 2001. Spam messages that tried to get in, 12,133, spam messages that got in 3, false positives, 0. Time I've spent tweaking and modifying the program since installation, 0 minutes.

    1. Re:Best anti-Spam method is TMDA by DrVxD · · Score: 2

      > Heh, spammers are people too, you know
      What on Earth gives you that idea?

      --
      Not everything that can be measured matters; Not everything that matters can be measured.
    2. Re:Best anti-Spam method is TMDA by Anonymous Coward · · Score: 2, Insightful

      I like TMDA, but I have two issues with it. First, you can only use it if you control a mail server. Second, my friends have a terrible time dealing with the concept of having to reply to a message to let mail go through to me. Sure, I can add them in advance, but if they have a new mail address, I don't get to see their message. Maybe I just have dumb friends, but they are my friends, and I want to get mail from them!

    3. Re:Best anti-Spam method is TMDA by pjrc · · Score: 3
      Check out TMDA, tmda.sourceforge.net. This program assumes you don't want mail from anybody whom you haven't explicitly allowed, or who has verified that they are a real person and not a spammer.

      This is only a solution for people who, well, only want mail from people they already know, and don't mind putting up a rude and obnoxious barrier... "I don't want to even talk with you until you jump though these hoops to verify you're not a spammer" for anyone else.

  30. Re:This is wrong. by japhmi · · Score: 2, Insightful
    One heavy-handed bit of leverage would be to block /all/ telcommunications from Korea


    This is a very bad idea. What about companies such as Hyundai that have Korean and American (and many other countries) divisions? Or, what about my friends from Korea trying to e-mail their family back home - should they be hurt because some companies in their home country do bad things (and/or it's government doesn't have/enforce laws to stop them)? Name a country that doesn't another country/ies thinking that they need to 'change how they do things over there.'

    --
    "Giving money and power to government is like giving whiskey and car keys to teenage boys" P. J. O'Rourke
  31. Another idea by caesar79 · · Score: 2, Interesting

    a nice idea to filter spam ...another one to fight it.

    1. the MTA's (mail transport agents like sendmail etc) establish trust relationships between themselves or manually. They also maintain a users safelist (i.e. addressboook + list of addresses user wants to recv mail from)

    2. All email over the trusted links and from addresses in the safelist are delivered unfiltered.

    3. For each email sent over an untrusted link
    a. Perform MD5 over message body.
    b. Ask neighbouring trusted agents if they have received an email whose MD5 is given.
    c. If no. of positives are greather than a threshold, reject as spam.

    1. Re:Another idea by plover · · Score: 2
      Sweet!

      The only problem is that too many people would want hotmail, aol and msn to be in the "trusted" list. And we all know that can't be.

      Still a great idea.

      --
      John
    2. Re:Another idea by Noofus · · Score: 2

      Unfortunatly this is also easily spoofed. The spammers could set up their own networks that falsely inject "trust" into the system.

      Mind you, I dont have an alternative. This sounds great, but I can see how it can be tricked.

  32. Could this also be used for studying spam? by FuzzyDaddy · · Score: 3, Interesting
    Could this technique be used as a way to track evolving spam techniques over time?

    You could develop a corpus of spam over a long period of time, and look for shifts in the data. What this paper describes is distinguishing between a spam-corpus and a legit-corpus, but you could also compare a spam-1999 corpus to a spam-2002 corpus, and see if the spammers are up to anything new.

    Not that it would be useful, but it might be kind of cool to try it out and see.

    --
    It's not wasting time, I'm educating myself.
  33. Another idea! Need repository of spam by Mr_Silver · · Score: 2
    I've got another idea which might work using Markov chains. You strip the text, work out the probabilities of groups of words appearing after each other and then score that way. As spam changes so would this.

    However to test such an idea I need a repository of spam mail - something I don't have. Hotmail junk is no good, it's just the same old adverts regurgitated over and over again.

    Does anyone have anything like the 4000 junk emails that this guy has? If so, please could you pop me an email to org dot ewtoo at silver as I'd really appreciate it!

    --
    Avantslash - View Slashdot cleanly on your mobile phone.
  34. False positives... by dillon_rinker · · Score: 5, Funny

    From the article:

    In the spam filtering business, false positives are your biggest worry...Based on my corpus, "sex" indicates a .97 probability of the containing email being a spam, whereas "sexy" indicates .99 probability...an email containing both words would have a 99.97% chance of being a spam.

    False positives could be a HUGE problem in this case...imagine the agony if you missed this email from your wife: "I'm feeling REALLY sexy today - meet me at the motel off 12th street at noon for some lunch-hour sex!"

    1. Re:False positives... by Our+Man+In+Redmond · · Score: 2

      Yeah, well imagine the agony if you showed up at the motel after some sleazeball forged the mail from your wife and were met by some sweaty guy in a polyester suit and a bad toupee trying to sell you a CD-ROM full of addresses.

      --
      Someone you trust is one of us.
    2. Re:False positives... by dillon_rinker · · Score: 2

      Slashdot crowd is so stupid.

      Indeed. Some of them have also had their sense of humor excised.

    3. Re: False positives... by pjrc · · Score: 2
      Or worse, what if you missed a message like that from a total stranger

      Such as:

      My name is Natalie. I live in St.Petersberg and I am looking for a real relationship with a real man. I signed up with this internet service to meet good western men -- I hope you are really there. [url deleted] Please see and write me here if you like me
      or perhaps this from "nec. Jen":
      It's all me [link deleted] Click Here
      and here's one of the few kinky ones:
      I would like invite you to come create a couples or singles profile and join this online community. If you are into alternative lifestyle, or just looking for something kinky in your life come try it out. It now has Video IM working and you do not need a web cam to use it. Check it out you will find what you are looking for.

      You can see my profile and photos by going to

      www.geocities.com/bdsmkitty2000 [oh what the hell, I'll leave this one in]

      and creating a profile it only takes 2 minutes to do this so you can look around.

      Oh, it does not cost anything to get on to look. I would not pull one of those on you.. I hate it when someone does that to me.

      You can find me under the user ID [deleted] and and see my profile and photos. I am a 34 year old bi Dom fem 34DD 120lb's

      Kisses
      [deleted]

      Actually, there's suprisingly few of these in my spam file these days.

  35. Re:This is wrong. by Stonehand · · Score: 3, Insightful

    In this case, the damage to others /is/ the point, just as that's the same logic behind the Usenet Death Penalty. Hurt others (in the case of a UDP, the customers of the ISP who send perfectly legitimate email) whom the authorities do care about so that they change their policies...

    It's not particularly nice, or even remotely fair, but something like that might work. A large-scale boycott by major ISPs might do the trick.

    --
    Only the dead have seen the end of war.
  36. Re:spamassasin by KMitchell · · Score: 3, Informative

    The theory (as I understand it) is that there are enough "legit words" in the "Sexy email to your gf" (i.e. her/your name/nickname, her/your email addy etc) that they'd cancel out the "bad words"

    The big shift in thinking from looking for phrases vs scoring each and every word in an email is that the rest of the email is just as saving/damning as the stuff that filters look for.

  37. stupid question by kisrael · · Score: 2

    Ok, I read the article but quickly, and at the end of it I wasn't sure how he ultimately told the system that an individual e-mail was spam or that it was legitimate, so it would know into which bin to toss those words...is that a manual process?

    I set up a homebrew whitelist (which still shows me the potential spam) I'm pretty happy with. I'm trying to figure out if I should keep in the subject based whitelisting or not...some spammers use my typical "hey" or "hi" subjects now...and it's the part of the system that grows the most. I'm just worried I'll send out mail to someone and they'll reply with a different e-mail address...maybe I should expire subjects?

    Hmmm.

    --
    SO YOU'RE GOING TO DIE: The Comic for Dealing with Death
  38. Shifman by T-Kir · · Score: 2, Funny

    I wonder what Bernard Shifman would make of this article?

    What is our 'CS Consultant' up to these days?

    --
    Are you local? There's nothing for you here!
  39. i wish i could try this... by bje2 · · Score: 2

    it looks great, and i will try it for my account that i use eudora or outlook for...however, i use a hotmail address for my main account (so it can travel wherever with me), and their custom filtering system sucks (if i may say so)...the only things they let you filter on are subject, From Name, From Addr, & To or CC lines...no option to filter on message content, which is where this would be useful...oh well, i guess that's what i get for using hotmail...i should get a real e-mail account...

    --

    "Facts are meaningless. You could use facts to prove anything that's even remotely true." - Homer Simpson
  40. Law and Reality by prester · · Score: 3, Insightful
    Making something illegal doesn't make someone stop doing it, obviously. All it does is increase the risks of doing the action. If it's still worth it to you anyway (drug dealers, drug addicts), or you're not thinking about the consequences of your actions (shooting the bastard who you just found in bed with your wife), or if you don't think that you're actually going to get caught (warez), you're not going to stop just because it's illegal.

    Making spam illegal would probably cut down on people buying email lists and starting to spam in their free time because it seems like a great way to make some money. It might even cut down on the "legitimate businessmen" types here who do it professionally. It's going to have no effect internationally, however, and there's really not much you can do about it.

    There's an interesting point about this in the article, however, when graham says:
    "(I used to think it was naive to believe that stricter laws would decrease spam. Now I think that while stricter laws may not decrease the amount of spam that spammers send, they can certainly help filters to decrease the amount of spam that recipients actually see.)"

    I would agree with this - it seems to me that for a lot of "crimes of this nature, drugs being the best example, the solution is not criminalization but regulation. People aren't going to stop dealing or using drugs, nor is it something as serious (like murder) that it's worth it to put them in jail anyway. If drugs were regulated, however, most of the problems could be easily reduced. Enforce strict controls to prevent cutting, ban advertisement, and tie sellers to treatment programs to help get people off of drugs. As long as there's no incentive for people to buy them illegally (ie, their being much cheaper or, as it is now, the only supply), people will buy them from regulated sellers.

    Similarly if you regulate spam and make people attach footers you'll be less likely to drive people overseas to spam while also making it much easier to filter out.

    Of course, there's still not much you can do about the Koreans, other than trying to get their government to do the same thing.

    Besides, do you really want to encourage the government to effectively prohibit certain kinds of non-victimizing (non-kiddie porn) speech online?
  41. You're being shortsighted by David+Wong · · Score: 4, Funny

    It was with the help of spam that with just a simple herbal supplement I was able to add three inches to my penis (an increase of over 20%). I had assumed it was just a scam, and nobody was more suprised than me that it worked.

    Well, except my wife.

    1. Re:You're being shortsighted by geekoid · · Score: 2

      shouldn't that be:
      (an increase of over 200%)

      haha couldn't resist.

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  42. Method applications by lovebyte · · Score: 3, Interesting

    Good method. I work with Bayesian technics often and I had thought of the same thing but for a different purpose: automatic classification of emails. When you receive an email, your mail reader would propose a list of potential folders into which you might want to put your email after (or before) having read it. And the best thing is that is learns with time and it gets better. And as this article shows, this method can also automatically filter emails. Now if I have time to get involved in the Evolution project or kmail, ...

    --

    I'll do it for cheesy poofs.

  43. Microsoft already looked into this by michaelwexler · · Score: 2, Interesting

    Feel free to review the work at http://research.microsoft.com/~horvitz/junkfilter. htm

    They came up with similar processes to both filter and to categorize. Bayesian analysis is a very flexible, and while Paul Graham is not the first to try this, his work looks very exciting.

    I had nothing to do with any of this work; just a fan of Bayesian research.

    Michael

  44. probalilties by Sarin · · Score: 2

    I spent about six months writing software that looked for individual spam features before I tried the statistical approach...[cut]...Based on my corpus, "sex" indicates a .97 probability of the containing email being a spam, whereas "sexy" indicates .99 probability.

    ofcourse these probabilities may vary from person to person.

  45. Re:spamassasin by Unknown+Bovine+Group · · Score: 2, Funny

    Based on my corpus, "sex" indicates a .97 probability of the containing email being a spam, whereas "sexy" indicates .99 probability. And Bayes' Rule, equally unambiguous, says that an email containing both words would, in the (unlikely) absence of any other evidence, have a 99.97% chance of being a spam.


    Obviously, the author just isn't sexy.

    --
    m00.
  46. news.admin.net-abuse.sightings by 13013dobbs · · Score: 3, Informative

    Look in UseNet. The group news.admin.net-abuse.sightings is where people post their spams. Enjoy!

    --

    No replies made to AC posts. Please log in.

    1. Re:news.admin.net-abuse.sightings by 13013dobbs · · Score: 2

      True. YOu could strip out teh extra crap. I am sure that could be done in perl, or something. Or, just post some spam-trap addresses around on usenet and on web-pages on geocities/angelfire/etc... I am sure that will get you a big pile of spam pretty quickly.

      --

      No replies made to AC posts. Please log in.

  47. Spammers could get around this by forkboy · · Score: 2

    1. Create layout of spam
    2. Take a screenshot
    3. Convert to low res PNG or JPG
    4. Mail the JPG to 100,000 annoyed geeks
    5. ???
    6. Profit

    --
    This message brought to you by the Council of People Who Are Sick of Seeing More People.
    1. Re:Spammers could get around this by forkboy · · Score: 2

      You've never seen an image with a hyperlink? Regardless, the content of the message could be imaged in the JPG and then a text hyperlink following it. You'd pretty much have to filter by the advertised URL, which doesn't help if it's a new website.

      --
      This message brought to you by the Council of People Who Are Sick of Seeing More People.
  48. Too bad! Patented By Microsoft by kotku · · Score: 4, Informative
    Microsoft is one step ahead of everyone. Here is the patent summary.

    "Technique which utilizes a probabilistic classifier to detect "junk" e-mail by automatically updating a training and re-training the classifier based on the updated training set"

    The full details of the patent can be seen here.

    Patent Link

    I'm surprised you guys don't check at the patent office first before you get all excited about a new idea. Doh!

    --
    The bikini - security through obscurity since 1943
  49. This won't work with HTML mail by mblase · · Score: 2

    The latest trick from spammers is sending out HTML e-mails with their ads. Not a problem by itself, but by embedding the entire spam ad as a single GIF or JPEG image, there's no text for the spambot to filter out. It's easy to trap false positives with this, too, since a family member or friend might want to send out photos without necessarily attaching text as well. Boom, statistical analysis is instantly useless, and we have to go back to the old tricks -- filtering out known spam e-mail and domain sources.

    1. Re:This won't work with HTML mail by kawika · · Score: 2

      Why *won't* it work on an HTML mail that's only an image? First, as I understood it, the whole message including the header are examined. Second, if IMG, SRC, freeserve (in the domain) are among the most interesting words and high on the probability list, then it's spam. I would expect that to be the case since the only HTML email I seem to get is spam.

    2. Re:This won't work with HTML mail by nebby · · Score: 2

      They'd have to host the images somewhere. Once they do that, the cost will skyrocket and it won't be worth it.

      --
      --
    3. Re:This won't work with HTML mail by bedessen · · Score: 2

      No, that's not necessary. They can use MIME multipart encoding (base64) to include the images. Often these days the entire email is just a block of encoded goo. Do a "view source" (or whatever your mail client calls it) on some spam, and chances are it'll be a solid hunk of base64 encoded content.

      (in fact there was a recent explot of IE6 posted to BugTraq that used something similar to this: It turns out you can encode an arbirary .EXE (using MIME) into some server created error message, and then get the code to execute as local user. End result: system compromised with rootkit simply by viewing a webpage.)

  50. Not much help for businesses... by David+Wong · · Score: 3, Insightful

    ...Or somebody who runs a website like me. I want readers to be able to get through, even though they're not each on my approved list. In the same way, a business who uses a customer feedback e-mail address needs to keep it open to everyone.

    I actually had to close down my hotmail account; the spam would exceed the 2MB within 24 hours after being cleaned (and that's with the wonderful MS spam filter set on "high.")

    BTW, these days I'm getting individual spams that are 170 KB in size. Talk about rude...

    1. Re:Not much help for businesses... by anthony_dipierro · · Score: 2

      Why do you need your customers to be able to send unsolicited email anyway? Set up a web based feedback form for the initial contact, and send replies from a uniquely generated address. Change your contact.html page to a php script which includes a clickthrough EULA which promises not to spam, and generates a unique address which identifies the person's IP address. Then if they harvest the address anyway, shut off that address and sue 'em.

      There's simply no excuse for not being able to filter out 99.9% of your spam. Be smart, not stupid.

    2. Re:Not much help for businesses... by kwerle · · Score: 2

      I'd go one step further. All you need is a good mailto link with a magic subject or body:

      mail me

    3. Re:Not much help for businesses... by Erore · · Score: 2

      If you read about TMDA you will see that it has a verification system. By responding to the verification request, customers will get through.

      Word your verification request in such a way that it appears to the customer that you are doing them a favor. For instance: Thank you for contacting us for technical support. We receive a large volume of mail, and unfortunately, much of it is spam. In order to give more time for our support people to work on real problems we are asking you to respond to this message so that your request will be put in the support queue and not left in a holding bin with illegitimate mail.

      Customers like this. What is more efficient for you in this case, and costs them 3 or 4 seconds (for the first contact, 0 for later contacts) will get their technical request, order, complaint, whaterver answered more quickly.

  51. Nothings perfect, but damn close is good enough. by prester · · Score: 2, Interesting

    Did you happen to read the article? He discusses this at length. He makes a strong argument that his system is actually pretty robust, since to get around it consistantly the spam has to look just like your real email, which is pretty darn hard for them to do.

    In a lot of ways this problem is like cheating in games. As long as you're the only one who knows the exploit, you can be pretty sure that it's not going to get fixed, though you'll still get kicked off every server you play on. Similarly, with his method a spammer might be able to find a particular phrasing that's likely to get through, though his messages will still be deleted on arrival. But even if he does, if he starts sending you too many emails or starts selling his technique the filter will adapt with the spam and start filtering it out.

  52. Non-Bolean buckets by Tablizer · · Score: 2

    I think rather than lump stuff into "spam" and "non-spam", it should assign a ranking number and preferrably display a color to represent ranking.

    If you are tired, then you can ignore or defer the grey areas.

    Also, if the display list displayed the first X characters from the content, then one can often check without reading the whole thing. (Perhaps filter out non-indicative words like "the" and "and" to make it more compact to display.)

    I don't think there is one magic technique because spammers will work around it if it gets popular. Thus, a combination of machine and human working together will be more effective IMO.

  53. Re:spamassasin by Znork · · Score: 2

    Actually, I'd recommend a combination between a nasty spam filter that kills off close to anything that might conceivably be spam and white-lists of senders who are automatically cleared. Your friends mails can get through, but woe betide the remote aquaintance or casual relation who mails you anything about sex... on the other hand you might be better off without that anyway.

  54. Re:Circumvent by kawika · · Score: 2

    >> based on the assumption that it is written in English

    There's no reason to think that Spanish, German, or even Chinese spam doesn't follow the same statistical word frequency rules.

    >> following the simple steps outlined in the URL above

    What if you are subscribed to mailing lists, or have mail bots that send you useful messages (like "your server is down")? The usual answer is "just configure those in advance" but that's a pain and not very robust. My hosting company was bought out and their automated server status messages just started to come from a new domain. If I had this kind of filter I would have missed them.

  55. Nicely done by hrieke · · Score: 3, Interesting

    What I want to know is:
    Would this also work with email virus? I think it would since the virus would also have a defined patern to it and the program would pick it up after the first one.
    Could this be made part of the STMP protocol or built into the backbone layer of the network? Again, I no major reason why it couldn't.
    Problems that I have with it are:
    Since each word is treated as a token and everything else is not, I'm sure that spammer would quickly figure out that a spam like this just might work:
    <HTML>
    <BODY>
    Enlarge <!-- elephant --> penis [etc..]
    </BODY>
    </HTML>
    which would show the message but hide the balancing words, so it could be possible to change the delta into your favor.
    Does anyone else have thoughts on how this might be broken?

    --
    III.IIVIVIXIIVIVIIIVVIIIIXVIIIXIIIIIIIIVIIIIVVIIIV IIVIIIIIIVIII...
    1. Re:Nicely done by certsoft · · Score: 2, Funny
      Enlarge <!-- elephant --> penis [etc..]

      I think most elephants have a large enough penis already.

    2. Re:Nicely done by gwernol · · Score: 2

      Would this also work with email virus? I think it would since the virus would also have a defined patern to it and the program would pick it up after the first one.
      Could this be made part of the STMP protocol or built into the backbone layer of the network?


      I would assume it would work against viruii for just the reason you give, althought you'd want to run some experiments to confirm that.

      I don't however, think you want to bury this in the backbone. An important part of this is that it is personalized. Each person needs to gather the statistics for their particular incoming email. If you have a centralized system it would become much easier for the spammers to craft emails that defeat the learnt patterns. If each individual users has a separate set of individually learnt filters it becomes impossible to craft emails that can get through more than a tiny percentage of them.

      Since each word is treated as a token and everything else is not, I'm sure that spammer would quickly figure out that a spam like this just might work:

      Enlarge !-- elephant -- penis [etc..]

      which would show the message but hide the balancing words, so it could be possible to change the delta into your favor.


      The techniques Paul uses can be extended to cope with this problem. The math is a little more complex but is definetly a known science. Any decent textbook on pattern recognition will give you solutions to this problem.

      --
      Sailing over the event horizon
    3. Re:Nicely done by AnotherBlackHat · · Score: 2

      What I want to know is:
      Would this also work with email virus?

      I could write one that beat it, but it does raise the difficulty significantly.


      Could this be made part of the STMP protocol or built into the backbone layer of the network?

      No. Why would you want to?
      You could build it into an email client.
      If it works, then sooner or later you'd have to, if you want to sell an email client.


      Problems that I have with it are:
      Since each word is treated as a token and everything else is not, I'm sure that spammer would quickly figure out that a spam like this just might work:
      <HTML>
      <BODY>
      Enlarge <!-- elephant --> penis [etc..]
      </BODY>
      </HTML>
      which would show the message but hide the balancing words, so it could be possible to change the delta into your favor.
      Does anyone else have thoughts on how this might be broken?


      Wouldn't
      Enl<!-- elephant -->arge pen<!-- elephant -->is ...
      be more effective?

  56. The problem is the existing email infrastructure by dmelomed · · Score: 2, Insightful

    SMTP is designed broken because it:

    1) Allows senders to be faked.
    2) Is slow.
    3) Requires bounces for broken messages.
    4) Allows loops.
    5) Cross-subscription to mailing lists, complicated mailing list management.
    6) MIME.
    7) Add your gripe here.

    See http://cr.yp.to/im2000.html

  57. Only way to stop spam is to beat spammers down. by stuartkahler · · Score: 2, Interesting

    Laws will never stop spammers. The damages are very hard to prove, especially when the judge/jury don't realize that their ISP filters their mail for 95+% of the spam already. Most people just don't GET it. And most spammers are sending the spam from another country, running a fly-by-night operation, so prosecution is nearly impossible.
    Filters are helpful, but they still require huge resources to receive the e-mail and process it. And as stated in the article, the risk of a false positive is often much worse than just receiving the spam.
    There are already only a few mail relays that are willing to send out spam, and virtually nobody accepts ANY mail from them. The spam going out is coming through illegally used mail servers. This shows what is to be the solution to the problem of spam: ISPs will only act to stop spam when the spammer is damaging their system.
    Most spam gets deleted without the enclosed links getting clicked by at least 99%. The company hosting the web site just sees their customer getting some success with their business. They don't know why, and they really don't believe/care when someone e-mails them to say that the user spammed them from a mail relay in china. The user probably paid for a 2 gig/month of traffic, and they are well under quota.
    It's time to change that. With a SETI@Home / Prime95 type application, we could easily DDoS a daily spammer off the net. Slashdot alone could easily field 10000 users willing to put their cable modems up to the task of pounding spammers accounts (and possibly the hosting ISP) off the net. Beat them down until the account appears to be deleted. Maybe then ISPs would hold users accountable for being spammers. Web hosting contracts might start including fines ($500+) for abusing the service, rather than just the scary risk of a cancelled account. All we have to do is beat them down before the few clueless morons come buying and make it worth their while.

    Legal? Sure, I don't see why not. I can send a 10 http requests to the ISP in a second... I've never heard of a law that says I can't do that every second. As long as the computers involved are from willing users (sysadmins get permission in writing first), there is no 'hacking'. Every DDoS case I've ever heard of involved charges of 2k+ computers 'hacked', rather than the ensuing attack. Even if it is illegal, this is vigilantism that nobody (other than the hosting ISP) is going to complain about.

  58. Incorrect statistics by SiliconEntity · · Score: 4, Insightful
    Based on my corpus, "sex" indicates a .97 probability of the containing email being a spam, whereas "sexy" indicates .99 probability. And Bayes' Rule, equally unambiguous, says that an email containing both words would, in the (unlikely) absence of any other evidence, have a 99.97% chance of being a spam.

    This reasoning is statistically invalid. It is only true if the chance of the word "sexy" appearing in a message is independent of the chance of the word "sex" appearing. In other words, only if knowing that the word "sex" appears tells you nothing about how likely the word "sexy" is to appear, can you reason as he is doing above. That's probably a very poor assumption in this case.

    He is doing:

    p(sex & sexy) = p(sex) * p(sexy)
    The correct formula is:
    p(sex & sexy) = p(sex) * p(sexy | sex)
    where the last term means the probably of "sexy" given that "sex" appears.

    Maybe his approach is good enough for his purposes, but the statistical foundations are not correct.

    1. Re:Incorrect statistics by anthony_dipierro · · Score: 2

      I wonder if you could use google to find out the expected correlation.

      Sex: 76,200,000 results

      Sexy: 15,900,000 results

      Sexy Sex: 2,010,000 results

      We know that google indexes 2,469,940,685 pages. So P(Sex)=3.1% (wow, 3% of web pages contain the word sex). P(Sexy)=0.64%. P(Sex & Sexy)=0.81%. P(Sexy|Sex)=2.6%. P(Sex|Sexy)=12.6%.

    2. Re:Incorrect statistics by Broccolist · · Score: 4, Informative
      In other words, only if knowing that the word "sex" appears tells you nothing about how likely the word "sexy" is to appear, can you reason as he is doing above. That's probably a very poor assumption in this case.

      Graham is using a naive Bayes text classifier here, which is a pretty common approach. The naive classifier, as you perceptively point out, does relies on the obviously incorrect assumption that the appearance of any word is independent of all other words. But:

      1. It's computationally impossible to be as statistically rigorous as you would like. If we had to keep a probability table of every word given every other word, we'd have awful combinatorial explosion. Even today's most powerful supercomputers would be unable to classify spam :).
      2. The naive Bayes classifier, despite the incorrect assumption, has been empirically shown to be one of the best algorithms for dividing text documents into categories. Because of the variety of words and very small correlation between words in different sentences, the assumption seems to do very little harm.

      Your objection is one of the reasons why AI researchers shunned Bayesian methods for so long: in practice it's impossible to implement them rigorously. Unfortunately, building a completely rational system is not tractable without a planet-sized computer. The only viable solution is to make compromises: just like humans do, when they skip steps and make not-100%-warranted assumptions in their reasoning.

  59. The problem is obvious by anthony_dipierro · · Score: 2

    Your filter's usefulness is inversely proportional to the number of people who use it, since it is trivial to bypass by a spammer who knows its details.

    1. Re:The problem is obvious by anthony_dipierro · · Score: 2

      The point is that each person's inbox would be uniquely filtered based on the general content of emails they receive.

      Then either this man has discovered artificial intelligence or he is being overly optimistic about how well an automated system such as this is going to work. If you can separate spam from non-spam based on the content of the message against an active human attacker, you've just passed the turing test, as far as I'm concerned.

    2. Re:The problem is obvious by anthony_dipierro · · Score: 2

      So.... your filter's usefulness would be inversely proportional to 1. That's also 1. I'll take a filter that's 100% useful, thanks.

      By the way, 0.0000000000000000000000000001 is also inversely proportional to 1.

  60. Mailing list hell by ajs · · Score: 3, Insightful

    Can you imagine the day everyone uses this. You send mail to a public list and get back 2000 messages asking you to "authenticate" yourself.

    This is a bad plan for working in the large.

  61. spam.NET by Lord+Omlette · · Score: 2

    Clippy/BOB/etc were based on Bayesian techniques, right? Does this mean M$ could soon build this into Exchange/Outlook?

    dundunDUNNNN

    --
    [o]_O
  62. fighting spam by frovingslosh · · Score: 3, Interesting
    None of what I saw in the article is, in my mind, effective in fighting spam for the following reasons:

    By the time one can apply the filters, you have already received the spam. This is a load on your resources. In some cases your in-box may even fill up (yes, I've received 1000's of the same piece of spam in the same hour, exceeding the capacity of my allotted storage and effectively DOSing me from real e-mail) or you may exceed limitations from forwarding services.

    The spammers don't really care. Or notice. Their goal is to hit millions of victims, knowing that some of them will respond. The response is all they care about. Filter your e-mail all you want, you were not going to respond to them anyway. All they care about is reaching the mark that doesn't know any better, and this filter doesn't do anything to stop that (unless it is applied automatically by ISP's, unlikely due to the fear of fales positives).

    What might help is a two fold attack on what they want: responses from marks. I suggest the following:

    A massive education campaign to educate the general Internet user to never respond to (or even read) strange messages that show up in your e-mail. Banner ads would seem a good place to start, it would be a public service if a good percentage of banners were replaced with ones that educated the Internet users who still make spam profitable. This might even have the long term effect of improving banner revenue: if banners compete with spam as a way to get out a message they have a lower value than if the public is taught to not buy from spam and even to aggressively resist doing business with a spammer. In the long run an antispam banner campaign could improve banner revenue for those who help fight spam. Ideally another great way to get the word out would be UCE, but that poses a moral dilemma....

    The other thing that could effect the spammer is if the ads are not getting the desired results with the advertisers. What needs to happen here isn't filtering, it's massive negative response to the advertiser. No response don't hurt them, but making them respond themselves to unwanted responses is a more suitable way to respond to those who originate unwanted messages to use in the first place. These people need to get responses that waste their time and resources like they are wasting ours. Obviously those who supply 800 numbers are a prime target for this, while those who supply only postal addresses make it too costly to respond. I think such negative response campaigns need to be coordinated from major popular sites to be truly effective (not just from a few geeks who spend their day on an anti-spam website. Their efforts are much better applied by getting the spam sources in black holes and getting ISP's to block or filter spam). It sure would be nice to see the slashdot effect applied to spammers rather than the poor smuck who puts up a small but interesting website.

    Interested in other's thoughts in this area.

    --
    I'm an American. I love this country and the freedoms that we used to have.
  63. D.O.S. attack on spammer sites? by Tablizer · · Score: 2

    Just out of curiosity, what if a bunch of geeks set up servers to DOS-flood sites that spammed. (This would not be the return address, since those are usually phony, but the website that sells the goods being advertized.)

    If such was possible, then Viagra.com would think twice about starting another spam compaign.

  64. Re:This is wrong. by walt-sjc · · Score: 2

    The big difference is that we can SEE where spam comes from. It's in our log files. Heroin is all underground. Music is not email. We also have laws against copyright infringment and yet the labels have not gone after traders. Believe me, if there were good tough, well-written NATIONAL (not state) laws on spam, I would go after EVERY SINGLE SPAMMER. It would be a GREAT source of additional income.

    I don't know why you say that spam laws would be difficult to enforce. We have logs, the illegal mail (spam), and the target phone numbers / web sites (the spamvertized material.) It's pretty cut and dried. If the DOJ get's a chunk of the fine, and the spammie gets "restitution", it would be a self-funded program.

    I have ZERO problems instituting a "usenet death penalty" type block on coutries that don't have tough laws on spam. I already do so personally on my servers for about 30 countries. Emailers in those countries get rejected with a pointer to a web page that tells them whats going on, and how to get "whitelisted" if they are legit.

    I have no problems with having filters as well as laws, but we need the laws to reduce the bandwidth bills. Spam takes Massive bandwidth and a toll on server CPU. Not too long ago, spam took AT&T's email servers for worldnet down for 3 days. This kind of thing HAS to stop. Filters at the recieving end won't stop the bandwidth usage of spam. Without stopping spam at the source, the problem will just get worse.

  65. Bullshit! by www.sorehands.com · · Score: 5, Insightful
    Another spammer lie.

    Freedom of speech is not the freedom to tresspass on my computer equiptment, use my resources for me to listen to your advertising!

    This is not a prohibition on your paying your moneyto spread your advertising. This is a prohibition on you spending my money to spread your advertising.


    Commercial speech does have some constitutional protection, but not to the same level as non-commercial speech. But even with pure political speech, there is no requirement for me to pay for your speech.


    As for hitting the delete key, at that point, you have already tied up at least 2 of my computers used my disk storage, my time, my bandwidth without paying for it.


    If you want to spam, no problem, just pay me in advance.

    1. Re:Bullshit! by j7953 · · Score: 2
      Commercial speech does have some constitutional protection, but not to the same level as non-commercial speech. But even with pure political speech, there is no requirement for me to pay for your speech.

      In fact, I would claim that Graham's approach to spam provides a much better protection of freedom of (especially political) speech than any other method. If until now you never received political spam, than his filtering method will probably rate the mail average, maybe even slightly positive. If you decide to delete-as-spam, the filter will "learn" to recognize political mails as something you don't want. If you decide to read the mail, it will "learn" to let future political mails get through as well.

      --
      Sig (appended to the end of comments I post, 54 chars)
  66. Great quote by fizban · · Score: 2, Funny

    This is the best paragraph of the whole article:

    So as spammers start using "c0ck" instead of "cock" to evade simple-minded spam filters based on individual words, Bayesian filters automatically notice. Indeed, "c0ck" is far more damning evidence than "cock", and Bayesian filters know precisely how much more.

    The Bayesian filter. You can run, but you can't hide!

    --

    +1 Insightful, -1 Troll. What can I say, I'm an Insightful Troll.

  67. He covers this. by Andy+Dodd · · Score: 2

    In addition to filters being individually tuned, the system allows for "whitelists" - Any mail address on the user's whitelist automagically bypasses the filter.

    The difference between this and other whitelist approaches is that "new" people who are sending you legit mail (Like Horny Teenager's latest BF/GF) will likely get through, as opposed to having to authenticate in some manner.

    --
    retrorocket.o not found, launch anyway?
  68. Spam is an unnecessary evil. by plover · · Score: 2
    I'd kept my address clean for many years, but I got bit because I wrote a letter to the editor of a scientific journal, who reposted it with my email address including a mailto: URL. God that hurt.

    I had my first spam before I received my e-mailed copy of the journal. It was "related" to the topic of the journal, and said something like "I sure agree with what you wrote about in the journal. What's your opinion about http://my.url ?" But the To: line was the clue. It included not only me@myrealaddress.com but also that of smart.guy@nospam.address.com (another poster in the journal.) It was very apparent that the author had simply harvested the HTML and dropped it into his address database.

    It was only hours before I was getting offers for detoxifying myself, HGH, climax gel and all-free teen pr0n.

    --
    John
  69. Beware Statistics by DoctorNathaniel · · Score: 2, Redundant

    A few quick comments about this. Although powerful, such approaches suffer from being somewhat too 'black-box'. That is, you turn control over to the computer to make decisions based upon statistical recurrances. This leaves you very vulnerable to several problems.

    For instance, the author remarks that he believes a bigger corpus of spam would help train filters. That's true, but misleading: it would help train filters that distinguish between his 'nonspam' corpus and his 'spam' corpus. In this case, he is surely increasing his true-positives.. his rejection of things that really are spam. But his false-positive rate is not helped at all, because his samples are so biased.

    (Example: 10 spams get the word 'blunderbuss' but he has no regular email with that word. Therefore, any future email may be rejected because of the word 'blunderbuss', even though there is no basis to know whether the word CAN be used legitamately.)

    If the system is done intelligently, this will simply mean that having a lopsided sample will do nothing (the resolving power will be dominated by the smaller of the two samples), but this may be counterintutive to some.

    Another problem is that you don't know WHY choices are being made, and that's bad science. Ok, ok, so this isn't science, it's Spam prevention, but I like science.

    ---N

    1. Re:Beware Statistics by bedessen · · Score: 2

      Example: 10 spams get the word 'blunderbuss' but he has no regular email with that word. Therefore, any future email may be rejected because of the word 'blunderbuss', even though there is no basis to know whether the word CAN be used legitamately.

      Not likely. Remember, the algorithm only considers the top 15 most interesting words of the whole email. Interesting means words that are close to either extreme in percentage. If only 10 spams contained 'blunderbuss' (out of however many thousands in the "spam corpus" used to establish the wordlist) then its percentage would be near the middle, since it was only present in 10 out of thousands of spams. So it will probably not be one of the 15 most interesting words -- if it is a legitimate email there will certainly be a lot of low-score words (near zero, i.e. common to many legit emails) and these are what are considered when judging the message.

      In order for 'blunderbuss' to cause a message to be marked as spam, 'blunderbuss' would had to have been present in thousands of previous emails known to be spam, and the message would've had to have a near absense of any words common to thousands of legit emails. If this was the case then it probably was indeed spam, and the algorithm predicted correcly.

  70. ASK! Re:Another way to stop Spam by kwerle · · Score: 2

    ASK is a system similar to yours with some tweaks:
    If you send someone email, and they reply to it, leaving in your .sig, they are automatically whitelisted.

    Mailing lists are handled automagically.

    Check it out:
    http://a-s-k.sf.net

  71. Why not reduced to practice? by balamw · · Score: 2, Interesting

    The built in spam filters for Outlook and Hotmail are just so much less efficient than Spamassassin or Razor/SpamNET.

    My recent experience shows about 90% of the spam I get can be detected by Spamassasin, 70% by SpamNET and about the same for Hotmail. The Outlook/Outlook Express filters are basically blacklists and catch maybe 40% if properly maintained.

    It does sound very similar, so why haven't they been able to implement a Bayesian filter as successfully as the lisp guru?

  72. Hacktivism? by Andy+Dodd · · Score: 2

    What's the legality of a DDoS where each attacker is an individual person and not a "zombie"

    I recall during the RIAA DoS discussion there were some methods of DoSing that were rather legit. (Slow HTTP request for instance - G, sleep 5, E, sleep 5, T, sleep 5, etc etc. Not a huge bandwidth hog but wreaks havoc with HTTP servers if enough people do it.)

    --
    retrorocket.o not found, launch anyway?
  73. Just got some spam. by perlyking · · Score: 2

    Well, my spamfile did (thanks procmail) and I submitted it to spamcop and noticed they have a freephone number.
    Now I could ring up and it would cost THEM money, which is a little teensy bit of payback - but imagine posting that freephone number on a site somewhere where like minded people hang out. They could all ring up the number, cost the company money and tie up their staff by chatting to them about their product.
    It might make them rethink their spamming.

    --
    no sig.
  74. The design goals of SpamAssassin by belphegore · · Score: 4, Informative

    Paul is taking an interesting approach here, but he's not correct in saying that SpamAssassin doesn't use a statitstical approach. He has a bit of a point in noting that his system will generate a prediction probability which is more intuitive than SpamAssassin's scoring system in terms of determining how likely a message is to be spam, but there is also an attractive element to the simplified, non-math way that SA uses scores, which allows them to be more understandable to non-math people.
    Seems like a number of the points which Paul makes in the article about spammers being defeatable, about the basic premise that they must get their message through in order to be successful, and that the war on spam is winnable are extensions from my interview with Salon a few months back, but his statistical approach fails to make use of one factor which I believe is critical (and which SpamAssassin attempts to exploit), which is that those commercial messages must convey a commercial message, in other words, they have to be a message, and have some sort of linguistic component which encourages the reader to do something. A purely statistical approach to spam filtering will lose the power of doing analysis of higher-order linguistic concepts.
    SpamAssassin's approach is to use the universe's best known natural language processors (humans) to build rules which they believe can differentiate linguistic elements of spam vs nonspam messages, and then use the best optimization and statistical tools we have (currently only using decent tools, not the best tools) to determine how to score those rules against individual messages. The scoring system is very simplistic today, just being a simple sum of the scores of the various rules (though it's slightly nonlinear because of the properties of some of the rules, like the auto-whitelist). Future SpamAssassin development directions include extending the scoring system to be much more non-linear, including examining statistically the frequency of occurrence of combinations of rule triggers.
    Automated rule-creation certainly has its place (for example, SpamAssassin's spam-phrase rule, or the auto-whitelist), but I truly believe that the ideal spam filtering system will always have to make the best use it can of human language processing skills. Using this combination of human/computer power, I believe that SpamAssassin can (and often does for many existing users) achieve better ROC performance than anything else.

  75. mod up, we need this by moogla · · Score: 2

    I was going to post a message suggesting exactly this but you beat me to the punch.

    Why doesn't my email app have this already??? :-D

    --
    Black holes are where the Matrix raised SIGFPE
  76. Re:Too bad! Patented By Microsoft by kawika · · Score: 2, Interesting

    Wow. It's described down to a level of detail that would make you think they've already written the Outlook add-in for it. I wonder why we haven't seen it yet?

  77. ASK or (Re:Best anti-Spam method is TMDA) by kwerle · · Score: 2

    Or, if you're not willing to sacrifice (or mess with) your MDA, check out ASK. It does about the same thing and works with sendmail, procmail, qmail, etc.

    A-S-K

  78. Filtering != Fighting by Andy+Dodd · · Score: 2

    In short, because the morons that support spammers are not likely ever to bother with filters.

    The one exception - Filtering with bounce messages. This will cause SOME spammers (not all) to take you off their lists. Since implementing fake bounce messages triggered for every identified spam (See spambouncer.org), my spam counts have halved, from 90+ spams/day to 30-35, and decreasing. Unfortunately, some spammers (azoogle.com) blatantly ignore bounces, and others have non-bounceable return paths. If more people bounce their spams back, those who DO have bounceable (but ignored) returns will have their bandwidth costs increase.

    I think the ultimate solution is that the spammers themselves have to be fought. Legislation is one - If 1 in 100,000 people respond positively to spam mail and only 1 in 100,000,000 sue for $500-1000, spam quickly stops being profitable. Also, some form of "voluntary" DDoS of spammers would be nice. Not voluntary for the spammers, but for all those who are attacking. For example, download a small app that each day presents you with an article, that basically states, "Today's target is xxxx - They are targeted because yyyy" and the evidence is presented against them. User can now decide if they want to participate. To minimize legal risks, trickery such as an absurdly slow HTTP GET would be useful. (G, sleep 5, E, sleep 5, T, etc etc) - Doesn't increase bandwidth costs, but the server will probably be brought to its knees rather quickly from having to serve too many simultaneous connections. A client could easily spool up 40-50 such connections with minimal use of local resources, but the server would have to open up hundreds of thousands of simultaneous connections, causing the server to fork like crazy.

    --
    retrorocket.o not found, launch anyway?
  79. Re:spamassasin by walt-sjc · · Score: 2

    Yup. SpamAssassin is pretty good at identifying spam. Only problem is that you have already incurred loos of bandwidth and CPU power. Yeah, not TOO big of deal for individual users, but magnify that by 1,000,000 or so if you are a big ISP or some other number if you are a business and it is STILL a real problem.

    Filters are great for keeping spam out of your inbox but it doesn't solve ANY of the other problems associated with spam. While many people don't like the idea of spam laws, they would create a financial / criminal incentive to cut the volume. What if kidnapping and rape were not illegal? Wouldn't the problem be MUCH larger than it is today? The trend we see with spam is that it is increasing by orders of magnitude. If I had no filters turned on, I would get more spam than legit email. If the rate of increase in spam keeps up, I will see 10 spams for every legit email in about a year. This is just not right.

    I don't have high-speed internet access available where I am. Spam costs me real dollars. Why should I pay for someone elses advertising?

    Spam needs to be stopped at the source.

    There is another argument that spam is a world-wide problem and that US laws wouldn't have much impact. While it's true that it wouldn't stop all spam, it would cut the volume. I also have no problem with a "usenet death penalty" for countries that don't take effective steps to curb spam. I already do this with a whitelist allowing the few international users that I do communicate with to communicate with me. Bottom line is that international spam stopped for me. I still incure a small bandwidth cost for the connection attempt, but not nearly as much as if I recieved the entire spam.

    Am I just totally off base here? If so, why?

  80. Re:Uh...... by pmz · · Score: 2

    Isn't it better to worry about the 'evil' html up on web pages rather than in emails?

    For most people, HTML e-mail is not "opt in". Just by browsing their inbox, they could be sending out requests to spammers' websites, thanks to e-mail clients that have preview features and HTML-rendering features.

    Actively browsing the WWW, such as going to a warez site, is "opt in" just like going to the shopping mall. Browsers, such as Mozilla, which allow user control over JavaScript and cookies can help mitigate the risk of browsing the WWW (just like hiding things under the seat can help prevent your car from being stolen).

  81. Can someone translate this? by Brant · · Score: 2

    Unfortunately, I don't grok LISP. Could someone please translate the code snippets into Perl or C so I can figure out what he's saying there?

    Thanks,

    Brant

  82. Spelling fight also by Tablizer · · Score: 2

    xIf xYou xCan xRead xThis xYou xHave xWon xA xFabulous xVacation! xClick xHere xTo xRecieve xYour xPrize!

    Spammers will start mispelling "hype words" to get them past. (They already do this in titles.)

    I can envision having a spelling check to find such, but then you could be filtering out legitamate bad spellers, such as me.

    1. Re:Spelling fight also by Spyky · · Score: 2

      I can envision having a spelling check to find such, but then you could be filtering out legitamate bad spellers, such as me.

      Okay, but then if 5% of the words are mispelled you can mark it as a bad speller, if 75% are, then its a spam. Adjust numbers appropriately.

      -Spyky

    2. Re:Spelling fight also by Tablizer · · Score: 2

      (* Okay, but then if 5% of the words are mispelled you can mark it as a bad speller, if 75% are, then its a spam. Adjust numbers appropriately. *)

      That is an exaggeration IMO. My error rate is probably around 25 percent on bad days and you don't need 75 percent of all words to be marketing words to get a message across.

    3. Re:Spelling fight also by flonker · · Score: 2

      Just filter on an automatically spell-corrected version of the text. This has a side benefit of increasing the amount of research done on spell-correction.

  83. Re:Please explain the LISP code by bsd-mon · · Score: 2, Informative

    LISP is prefix so instead of a+b you'd have +(a b)
    IIRC in c this would be similar (LISP guru's please correct me):

    int g(char* word) {
    /* if word is in good hash, return weight,
    else return 0 */
    return 2*good_word_weight;
    }
    int b(char* word) {
    /* if word is in bad hash, return weight,
    else return 0 */
    return bad_word_weight;
    }

    int main() {
    if (g(word) + b(word)

    --
    To read makes our speaking English good. - X. Harris
  84. What he's giving is great info, but... by wurp · · Score: 2

    I question his testing methods. If I read the article right (oops, slashdot faux pas, I admitted to reading the article) he built the Bayesian map from about 4000 messages, then tested the efficacy of his algorithm against those same 4000 messages! He waves his hands about why that's OK, but wouldn't it make more sense to take 10 minutes to build his map against the first 2000 messages and test it against the remaining 2000? I really don't trust algorithms that use the input data combined with the desired results derive those same results against the same input data.

    Secondly, over time, assuming that spammers put forth any effort into bypassing his filters, the filters will become much less useful. Spammers will intentionally misspell key words to lower their total spam rating. The easy solution to this is to make the map using a running total of only the messages from the last 3 months, or 6 months, or whatever period works best, but he should have at least mentioned that. Otherwise, over time the massive weight from the old emails will drown out any new spam identifying words.

    All in all, it sounds like a great system, though, pending the results of a real test against emails other than the one you built the map from ;)

    1. Re:What he's giving is great info, but... by jaoswald · · Score: 2

      Misspelling won't work, because those misspellings are far more likely to mark a spam than a legitimate e-mail.

      PG makes the point himself with the c0ck example.

    2. Re:What he's giving is great info, but... by wurp · · Score: 2

      But initially, the misspelling is only a word that the filter doesn't know, which is rated at .2, which is considered not a spam. After receiving a few spams with the misspelling and "delete-as-spam"ing them, the system will correct itself, until the spammers begin misspelling the word in a different way.

    3. Re:What he's giving is great info, but... by wurp · · Score: 2

      I did read all the way through. The system requires that it run into the word five times, spelled the same way, in a message marked as spam. That means that the the first spams that you receive that use only misspelled "spam words" will bypass the filter, and that will happen again and again as long as the spammers can come up with new ways to misspell the words.

      I do think it's a good system, but his testing methodology as listed in the article is atrocious, and there are techniques spammers can use to bypass the filter if it were to become very popular.

  85. make it distributed. by option8 · · Score: 2

    Make it Distributed and make it work with eudora, and i'll gladly use it.

    spamnet (see link above) promises to make it so that, if you add a filter to your email, and it (or you) shows promise as a good spam filterer, that filter gets added to those that all subscribers get. unfortunately, it's currently only for outlook, but i expect it will either add support for other clients, or someone will come up with an open source alternative...

  86. Can we use this on slash? by Fizyx · · Score: 2, Interesting

    Not to filter posts for spam, but for, you know, quality!

    1. Re:Can we use this on slash? by Hoi+Polloi · · Score: 2

      I think we'd stop seeing any posts then. ;)

      --
      It is by the juice of the coffee bean that thoughts acquire speed, the teeth acquire stains. The stains become a warning
  87. Re:spamassasin by ceejayoz · · Score: 2

    That'd be easy to filter out.

  88. Re:Circumvent by kwerle · · Score: 2

    My primary concern comes from the fact that most of the spams I recieve are either Korean or English, while most of the legitimate mails are in Norwegian. Sending me Korean mail is pointless anyhow, but I fear that simply the _use_ of English will make his scheme produce lots of false positives.

    I don't get it. Does Korean spam use something other than WORDS to communicate? Or do their mail headers look any different than Norwegian ones? What makes you think your deleting Korean spam, and thus marking those Korean words (heck, all of them) as spam will be a problem? The filter gets built up for the user, based on the user's email. How could this not work for you? Why would marking of a few English words as not being spam be a bad thing?

  89. Your eyes are brown. by www.sorehands.com · · Score: 3, Insightful
    You are so full of shit, your eyes are brown!


    If you have a driveway that connects to a public road, then people can park there. Your house is connected to a public road, I can walk in and watch TV. Your car is on a public road, I can use it without your permission.


    A spammer that I tracked down was very unhappy that I knocked on his door. He claimed I was tresspassing. How could I, he opted in by having his house accessible by a public road.


    If spamming is legal and honorable, why don't you post your real name, address, and phone number with each spam and on each website that you spam about?

    1. Re:Your eyes are brown. by Dyolf+Knip · · Score: 2
      There's a difference. While you are very stringent about who you let onto your property, most people will happily let anyone mail something to them. An inbox without deny filters really is a public site.

      This is not the way things have to be; you could easily deny any mail except for what's on your whitelist. But to lessen the risk of false positives, you give mailers the benefit of the doubt. Similarly, unless you have barbed wire running around your property, you are pretty much giving permission to anyone to walk on and 'ask for permission to be there', as it were. They don't get to stay if you tell them to get lost, nor does the spam have any say in whether or not you trash it.

      --
      Dyolf Knip
    2. Re:Your eyes are brown. by www.sorehands.com · · Score: 2
      "most people will happily let anyone mail something to them."

      Actually, an advertiser pays money for the privelege to put something into my a mailbox. A advertiser cannot legally walk up to a mailbox and put advertising into it without paying postage.
      "Similarly, unless you have barbed wire running around your property, you are pretty much giving permission to anyone to walk on"

      If you put your car onto my property, it may be towed or seized.


      On my site, it says,

      "You agree that any email you send which advertises or promotes any product, service or Internet destination, shall be subject to a $1,500.00 fee for reading and responding appropriately. THIS MEANS SPAM COSTS! Concealing, misrepresenting, or not fully disclosing, the sender's identity increases the fee by $3,000.00 to compensate for the effort to track down the sender.
      Which means that you have been told not to send spam, unless you want to pay for it.
    3. Re:Your eyes are brown. by Dyolf+Knip · · Score: 2
      Actually, an advertiser pays money for the privelege to put something into my a mailbox. A advertiser cannot legally walk up to a mailbox and put advertising into it without paying postage.

      Sure they can (hang it on my doorknob, anyway). I get that particular brand of crap rather often. They just don't get to use the USPS to deliver it.

      If you put your car onto my property, it may be towed or seized.

      Exactly my point. Equating 'sending spam' to 'using my lawn as a parking lot' doesn't work. That I'm allowed to walk onto your property doesn't mean I have any freedom there. You send me spam, I delete it without hesitation. You park your car in my driveway and I'll test out my new chain saw. In both cases, the attempt to put something into my 'sphere of influence' essentially results in it being totally at my mercy. In both cases, you _could_ change the situation and give only 'authorized personnel' the ability to enter your property, but you risk barring people who would be authorized if only they could get past the not-very-intelligent spam filter/barbed wire fence. So we don't, and instead focus our efforts on trying to make very smart barbed wire that will let the meter readers, bug man, pizza delivery guy, gorgeous babes, etc in but keep the Jehovah's Witnesses and salesmen out.

      Basically, I'm saying that people who end up with a lot of spam (yes, this includes myself) are in that situation because they feel that the lack of false positives is worth the abundance of false negatives. Any one of us, at any time, could turn our filters on to the max and reduce spam to a bare trickle, but it would be at a high cost. A former girlfriend of mine did exactly this, and while she got nothing she didn't want, there was a lot she did risk missing. A smart, effective, adaptive piece of software that stands to have the best of both worlds is simply amazing. I want it.

      --
      Dyolf Knip
  90. Re:Please explain the LISP code by brausch · · Score: 2, Informative

    OK, I'll try. He's trying to score the word on a scale from .01 to .99. The value is the probability that the word is a spam word.

    g = 2 * (count of how many previous "good messages" the word has appeared in)
    b = (count of how many previous "bad messages" the word has appeared in)

    if( g+b 5 ) // word hasn't occured enough in previous messages
    return 0; // to have a valid score

    fb = b / nbad // nbad is number of bad messages in database
    fg = g / ngood // ngood in number of good messages in database

    score is fb / (fb + fg)
    minimum valid score is .01, maximum is .99

    --
    "Almost every wise saying has an opposite one, no less wise, to balance it." - George Santayana
  91. Re:Spammers will just change tactics. by Myco · · Score: 2

    How terrifically annoying it must be to correspond to you. Yeah, humans can work it out. Humans also like to use address books. Humans also don't like to have to check the calendar each time they email someone.

  92. Check out A-S-K by kwerle · · Score: 2

    Nice system for list matching:
    a-s-k.sf.net

    1. Re:Check out A-S-K by kisrael · · Score: 2

      I'm not crazy about the idea of sending out confirm e-mails...it makes me feel like a bit of a spammer myself, especially if the incoming spam contains a from: address of some poor unsuspecting sap. Also, I worry just a little bit about non-technical people 'not getting it'.

      Since I already do certain auto-whitelisting based on subject for mailing lists , mostly for [randomyahoogroup],[Slashdot], and [Stella], I'm toying with publcizing [Kirk] as well as a magic passphrase...

      --
      SO YOU'RE GOING TO DIE: The Comic for Dealing with Death
    2. Re:Check out A-S-K by kwerle · · Score: 2

      I'm not crazy about the idea of sending out confirm e-mails...it makes me feel like a bit of a spammer myself, especially if the incoming spam contains a from: address of some poor unsuspecting sap.

      In more than half a year of using ask, I have yet to have that problem.

      Also, I worry just a little bit about non-technical people 'not getting it'.

      I have dumbed down my confirmation message a little. I WAY dumbed down my mom's confirmation message...

  93. It's the content I want to block by Skapare · · Score: 2

    It's the content I want to block. I don't want the spam to be sent to me in the first place. I don't want it to use up my bandwidth, which is half the reason for refusing spam in the first place. Plus, when handling other people's mail, it's one thing to block suspected spam sources for them; it's another thing entirely to examine the content, even if it's just computer logic doing it. If I am able to deploy the ability to examine mail for unacceptable content, then what else will I have to test for later? What will the government expect me to be able to do?

    I'll stick with blocking dedicated spam houses, ISPs that harbor spammers, open relays, open proxies, dialup pools, and certain countries, by IP address and/or domain name. And I'll continue to block anything that can't get their reverse DNS right (this feature alone took out half the spam with very little collateral damage).

    --
    now we need to go OSS in diesel cars
  94. One perspective on the 'blunderbuss' statistic by doorbot.com · · Score: 2

    Example: 10 spams get the word 'blunderbuss' but he has no regular email with that word. Therefore, any future email may be rejected because of the word 'blunderbuss', even though there is no basis to know whether the word CAN be used legitamately.

    I don't claim to understand the article fully, but I'll take a stab at responding to your example...

    Let's say you have an email with 200 words in it (including the header, etc). Let's assume that your friend the history buff is sending you some pictures of a blunderbuss. Of course he's kind enough to provide a description of the pictures and a short history of the blunderbuss.

    Now, this goes through the filter which splits up the words into 200 tokens. Even if blunderbuss has a .99 probability of being a spam word, the message is not rejected based simply by matching this word. This one word will influence the final probability calculation (eg, moving towards a "hit" for spam), but the other 199 words could (and will) push the email towards the "valid mail" threshold. Thus, the .99 is negated by the near-zero probabilities of other words in the email (sorry, I'm not a mathematician -- my apoligies if that's confusing). There is an example in the article which explains this.

    If the email contained only the word blunderbuss (disregarding the words in the header), then it's probably spam. However, if the email contained only the word blunderbuss it's probably not very useful in the first place (unless you're an international spy ;)).

  95. Re:make sure you call their 1-800 from a public ph by perlyking · · Score: 2

    Well in the UK (not sure about elsewhere) dialling 141 before the number witholds caller id. Worth remembering :-)

    --
    no sig.
  96. Re:It depends on your definition of spam by blazin · · Score: 2

    Even if I did want the Raleigh 3-speed, and I received an email (unsolicited, automated, spam, whatever) from anyone who I haven't spooken to before about my desire for the bike, I would want it deleted.

    Even if I was looking for and really, really, really wanted that bike, if the opportunity to purchase it came to me through a spam email, I would still delete it. I don't want to give the spammer any revenue or to encourage spam in any way.

  97. Re:It depends on your definition of spam by iabervon · · Score: 2

    Even if some spam is actually offering you something you want, you probably don't want to receive it in your email. You may not want to send your spam to /dev/null, though, if you might get an offer for something you actually want. In this case, you'd want to set up a file that it gets sent to, and then search it for interesting stuff on occasion.

    Of course, anyone offering something interesting to a list of email addresses probably also has a web site, and you could find the information with Google when you want it.

  98. Re:This is wrong. by kallisti · · Score: 2
    I remeber a story here on Slashdot not too long ago about someone who apparently was accused of sending spam because he sent a resume. We don't want that to be illegal.


    He sent his resume to a bulk-mailing list, that's spam for sure. People will be able to send resumes, just not to everyone in shotgun fashion.

  99. At the risk of sounding like a broken record... by Guppy06 · · Score: 5, Interesting

    Senator Mary Landrieu
    724 Hart Senate Office Building
    Washington, DC 20510-0001

    Dear Senator Landrieu:

    Earlier this month the Federal Communications Commission (FCC) issued a record fine of nearly $5.4 million to Fax.com for transmitting unsolicited advertisements via fax machine (ie. "junk faxing"). Coincidentally, the Associated Press published a series of three articles covering the state of unsolicited e-mail advertising ("spam"). I'm left wondering how the FCC can come down hard on junk faxers but how spammers (arguably of a lower moral class) are allowed to continue to operate nearly unmolested.

    The law Fax.com was found to be guilty of breaking is Section 227 of Title 47 of the United States Code. The relevant text follows:

    Restrictions on the use of automated telephone equipment:

    It shall be unlawful for any person in the United States (...) to use any to use any telephone facsimile machine, computer, or other device to send an unsolicited advertisement to a telephone facsimile machine(.)

    It is my understanding that the reasoning behind this law is based on the ownership of resources. Fax machines are purchased and maintained at the owner's expense and only the owner's expense. An unsolicited advertisement sent to this fax machine amounts to nothing less the use of these expensive resources without prior consent. In effect "junk faxing" is considered theft and as such the offenders are held accountable by law.

    What does this have to do with spam? In my opinion, everything.

    Receiving an e-mail is by all accounts more expensive than receiving a fax. While several companies are now offering stand-alone e-mail clients, I have yet to see one of those with a lower price tag than a fax machine. But even if their price tags were the same, an e-mail station requires that the owner not only pay a monthly fee for a telephone line but also a second monthly fee for the e-mail account itself.

    Of course not even an end client is enough to receive an e-mail. The e-mail account you would be paying for is maintained on a very large (and very expensive) e-mail server, complete with its dedicated (and pricey) connection to the internet. There is simply nothing comparable to an e-mail server in the faxing domain. While a bank of fax machines doesn't cost more than the price of the machines and their associated telephone lines, the price a dedicated e-mail server and the associated connections can easily resemble that of a small car.

    So why is it that the FCC is given free reign to crack down on junk faxers but spammers are free to consume valuable equipment they do not own?

    If you are familiar with the AP articles I mentioned earlier you will know that spam is steadily eliminating the usefulness of e-mail itself. It has been estimated that spam accounts for up to 80% of the e-mail traffic to major e-mail domains such as Hotmail and Yahoo, a problem that their respective owners are all but powerless to fix. As more and more internet resources are tied up by these advertisements, the owners of these resources have had to resort to cutting off offending service providers from the rest of the internet entirely. Customers are finding themselves unable to use the internet access they have paid for simply because another customer of that same provider is abusing theirs.

    But even then the providers are powerless to drop spammers. Spammers in the recent AP articles have proudly boasted of the way they outright defraud unsuspecting internet service providers when signing up for an account. And when the provider threatens action, the spammer threatens the provider with legal action. In recent months a spammer was even successful in receiving a legal injunction against their service provider, preventing the provider from stopping the spammer from abusing their resources.

    I have little problem with receiving advertisements through the U. S. Postal Service. I know that the delivery cost for every article in my mailbox has been entirely paid by the sender. And while I am not happy with the current situation with telemarketers (I must pay for local telephone service before I have the "privilege"of being contacted by telemarketers), I must grudgingly admit that the state and federal laws designed to restrict telemarketing have been mostly successful. But I am not happy about paying several thousand dollars for a computer and $20.00 a month simply to have my e-mail account flooded to capacity with advertisements for products and services I have no interest in (and preventing legitimate e-mail from reaching me in the process). I am sure that you yourself have been bombarded with advertisements for websites featuring "nasty teens" or "penis enhancement." I have noticed that your office no longer maintains an e-mail address accessible to the public.

    The examples of spam I mentioned in the last paragraph bring me to another point: I have noticed on your website your stated commitment to enforcing decency laws on the internet, to protecting children from access to objectionable material on the internet. It should be obvious by now to even the most casual of internet users that the biggest offender in this area is the spammer. While a user must actively attempt to locate a website in order to find such material on the world wide web, the mere existence of an e-mail account all but guarantees that the owner will have such material delivered to them on a daily (if not hourly) basis.

    In my opinion the solution to this problem is very simple: expand 227 U. S. C. 47 to prohibit unsolicited e-mail advertisements in exactly the same way it prohibits unsolicited fax advertisements. Nothing more, and certainly nothing less.

    I have seen some ineffective bills drift through both houses of Congress that are written to allow unsolicited messages so long as they have an "opt-out" mechanism. Ignoring the fact that such legal loopholes would essentially negate the law entirely (can you prove that you tried to opt out?), it quite literally sickens me the way some of your fellow members of Congress feel that spam is somehow an issue dealing with the freedom of speech. The mere existence of the internet and the supposed changes it has on how business and the legal system work (even though such "changes" have been shown to be a lie) have helped to convince these poor fools that people should somehow have a right to use and abuse the property of others. Does my neighbor have the constitutional right to break my kneecap so long as they provide me with the ability to "opt out" of future kneecappings?

    The United States Constitution guarantees that all citizens are free to say what they want. It does not guarantee a soapbox upon which they can say it. Just as I am not guaranteed the right to have a billboard on Interstate 10, spammers should not have the "right" to use the resources of others simply because they're there.

    Expanding 227 U. S. C. 47 to include e-mail is an extremely important issue to me and I hope with your stated interests on your website that it is also an important issue to you as well. I know that you are up for re-election this November and I intend to find out how your competitors feel on the issue as well.

    1. Re:At the risk of sounding like a broken record... by Guppy06 · · Score: 2
  100. Paul Graham on Fighting Spam by digitalsushi · · Score: 2


    Paul Graham on Fighting Spam:

    Wham wham wham wham wham wham wham.


    (its deeper than you think)

    --
    slashdot: where everyone yells sarcastic metaphors to themselves to understand the issue
  101. Re:needs to run on *outgoing* by WebMasterJoe · · Score: 2
    That's why the large ISPs such as AOL and the DSL/Cable providers need to put this on their _outgoing_ connections, just to be able to quickly identify a machine which suddenly begins to produce spam. This would, of course, presume that they are responsible enough to care.
    I like the idea, but wouldn't it be easier for the smtp server to have more obvious rules? Such as, "If host sends out more than 100 emails in a minute they get a warning, after two consectuive minutes of this activity (or two minutes in a 1-hour period) they get banned for 24 hours and the ISP techs get notified." Businesses who send out mail legitimately in bulk would have to make arrangements in advance and somehow satisfy the ISP that it isn't spam.

    Then again, it doesn't matter how great of a system could be built if the ISPs don't use it - just look at the open relays that still exist!
    --
    I really hate signatures, but go to my website.
  102. Re:no it's not by pmz · · Score: 2

    Javascripts

    I generally have feelings about JavaScript that mirror my feelings about HTML e-mail, and the underlying problem of bad default software configurations is the same. But I'll defer ranting about JavaScript, for now.

    I agree that browsing doesn't always seem "opt in", but I was trying to point out that browsing is actively going out and about, which is different than reading through e-mail.

    HTML and JavaScript in e-mail is more like a disease-loaded letter in a person's own mailbox (no one asked for it, no one needs it, it's just there, and it's dangerous). WWW browsing, on the other hand, really is more like shopping or traveling. There are real risks in going out into the world into unknown places, but we accept them as small and not worth sheltering ourselves because of them.

  103. Use a distributed intelligent network. by Moderation+abuser · · Score: 2

    Yup. Use the intelligence of hundreds of thousands of fellow spam haters across the internet.

    Vipul's Razor: http://razor.sourceforge.net/
    Pyzor: http://pyzor.sourceforge.net/
    DCC: http://www.rhyolite.com/anti-spam/dcc/

    Yes, they do work. no spammers can't get round them just by changing formatting or including random characters.

    --
    Government of the people, by corporate executives, for corporate profits.
  104. You mean bernie. by www.sorehands.com · · Score: 2

    Bernie is a moron spammer.

  105. Really cool by dh003i · · Score: 2

    It'd be great now if he offered an implementation which we coudl all use.

    I think a progressive, ever-going implementation is best. I also think its best to filter based on headers first, and not download any spam (to save bandwidth) and then filter based on message content (for the messages downloaded) and move any spam to a spam folder.

    Then the user simply looks at the spam folder and looks for false-positives, and marks them as "legit". Then the Bayesian filter recalculates.

    Same thing for false negatives, and for the messages not downloaded. The user can look at the headers of the messages not downloaded and say if they're spam. Then the Bayesian filter recalculates.

    Another good thing to do is to give a "password" to your friends for them to put in headers sent to you. I.e., 13y4890dshfpljk2134y9073254y32p9ur. Any message with that in the header would be given a 0% probability of being spam, as only those you gave that to would know to put it in the header. Should it become compromised, you can change it (or just don't give it to people who might compromise it).

    Back to the Bayesian filter, another good thing might be to have varying levels of "spam". I.e., if something is almost certailny spam (i.e., 99.99999999% likely to be spam, as would a message with the header "Get fucked for free and make lots of $$$$$"), it would be placed in a DEFINATELY SPAM FOLDER. Other things would be placed in a "PROBABLY SPAM FOLDER". Etc.

    Anyways, Bayesian Analysis is a really great method.

    If your interested in Bayesian Analysis, there's a great phylogeny program which gives you (basically) a bootstrapped maximum likelihood tree (calculated from millions of trees) via Bayesian Analysis: MrBayes.

  106. Why Bayesian Analysis isn't so hot by TWR · · Score: 2
    IIRC, there is one huge problem with Bayesian analysis: recalculation. Unlike a neural net, there is no "backprop" correction process. Once you walk your data set, you have fixed values for analysis. If you want to update the values (new spam words!), you need to re-process all of your mail again. You need to keep all of your spam around, as well as non-spam, just so you can constantly update your filters. Ick.

    Is there a shortcut that I'm missing?

    -jon

    --

    Remember Amalek.

    1. Re:Why Bayesian Analysis isn't so hot by mla_anderson · · Score: 2, Insightful
      If you keep the two original hashes along with the probability hash you can simply update the word count of the two originals and rebuild the probability hash. This could be fairly simple.

      1. Mail arrives
      2. Mail is scanned
      3. Good/Bad hash is updated
      4. Mail is delivered (if necessary)
      Then at the end of the day regenerate the probability hash.
      --
      Sig is on vacation
    2. Re:Why Bayesian Analysis isn't so hot by TWR · · Score: 2
      I thought of that, but I'm not sure that you're right (hence my posting). Again, I'm a bit rusty on my Bayesian work, but I don't think it's quite that simple.

      If you are doing real Bayesian analysis, you need to keep track of which words (token, really) appear TOGETHER in a message, and if those words all appear, then is that message spam or not spam what percent of the time? You also need to evaluate sub-sets of the list of tokens. Since there are quite a lot of tokens per message, you hit a combinatorial explosion for even a short message. That's a lot of info to keep around.

      I think that Graham is using a short-cut, and is simply multiplying frequency analysis of single tokens (no combinations of tokens) together.

      Or, as I said before, I could be completely forgetting my statistics.

      -jon

      --

      Remember Amalek.

  107. Who needs advanced technology? by Dthoma · · Score: 2

    I just invented this great spam filter! It counts the number of people in the cc: field! Then I multiply it by 10, and that's the percentage chance it gets chucked! Only 14% as much spam gets through, with NO false positives!

    --

    Note to M1-ers: a curt but otherwise insightful message is not "Flamebait" or "Troll".

  108. Re:spamassasin by FyRE666 · · Score: 2

    Well, I suppose if you wrote something like:

    Hi, my sexy naked Russian teen lolita! I've increased my penis size to 45 inches by phoning for sex along with other like-minded people who I click with!!!!!!!!!!

    I'll be around later, unless you want to opt-out, but it's not an idea I'd subscribe to!!!!

    Then you might just generate a false-positive...

  109. Re:This is wrong. by FyRE666 · · Score: 2

    There's a big difference with spam versus the illegal drugs trade and child porn: SPAMMERS WANT YOU TO SEE IT! This is their anchovies heel, there's clear evidence of the origin of the spam (or at least the incompetently administered mail server) - so that's where the fault lies.

    I agree that there should be more effort on the part of the US government to remove these bags of sh*t from the 'net. Where available, the ISPs should be forced to diveulge the customer account used to post the spam. Any companies advertising via spam should be fined per item of spam. This last would remove a lot, since the spammers wouldn't have much to do without companies paying them. Lastly, if a mail relay is used repeatedly, either force it to close, sue the company responsible for it, or blacklist it all mail from it for at least a year (kind of like a prison sentence for the server host).

    I waste far too much of my time scraping up the crap these parasites spew into my mail server - they deserve the harshest of penalties - at least equal to child porn swappers.

  110. Re:no it's not by pmz · · Score: 2

    I'm really trying to see a difference, but I just don't.

    Another way of putting it that I just thought of:

    We have a right to read our mail privately in our homes with no one peering in. We generally dispense with a notion of privacy when going away from home.

    The gray area between e-mail and web browsing is due to them frequently occurring on the same computer over the same network connection; however, I just tend to view them in the same way as traditional activities. My habits tend to reflect this, as I use separate tools for e-mail and web browsing, and I ensure my web browser isn't configured to do e-mail-like activities. If I wanted to take things further, I would run my web browser in a separate and limited user account (which I already do for my Windows VM, but that's a different matter) or even configure a special browsing-only workstation that has specific firewall privileges. This isolation helps protect my computer from the fact that the browser automatically processes whatever data is sent to it.

    As long as my e-mail is never automatically rendered and is always displayed as text, it is generally not as risky as web browsing and doesn't require as much isolation to be safe.

  111. Paul Graham on Fighting OOP by Tablizer · · Score: 2

    Paul's
    Why Arc is not especially object oriented

    I would personally like to see Paul Graham spend even more time fighting OOP than spam. The second one is a lost cause arms-race IMO.

    Here is something that rang true with me on his OOP musings:

    Object-oriented programming is like crack for these people: it lets you incorporate all this scaffolding right into your source code. Something that a Lisp hacker might handle by pushing a symbol onto a list becomes a whole file of classes and methods.

    I think using databases (properly) are the same way: a single relational formula does most of the work of a bunch of classes and "hand-indexing" these classes and methods together. (AKA GOF-math)

    OOP hard-wires the "noun structure model" into the code (what Paul calls "scaffolding"). LISP and relational techniques tend to use *formulas* to manage these instead of physical code structure. IOW, we don't build structures, we order the information to build *itself* into the needed structures. (OO has the concept of "self-handling nouns", but it lacks the concept of self-handling structures, or interlinks, between those nouns.)

    It less disruptive to change a formula than change the physical structure of the code.

    OOP fans spend too much time looking for "the proper pattern or model". If you do it right, there is no one proper model or structure: it is virtual views that you create on an as-needed basis and can change on an as-needed basis without a bunch of code rework. You can also have multiple different views without them stepping on each other.

    OOP creates code and work that is unnecessary and fragile.

    (oop.ismad.com)

  112. Re:Non-Boolean buckets by Tablizer · · Score: 2

    (* I'm not sure what the benefit would be to having a few words from the text. For me (and most likely other people as well), that is enough of an inconvencience that I may as well just scan through the entire email. *)

    The point is to make it easier to eye-scan if you are worried about false positives. It helps by: 1. Making it easier to review many messages, and 2. Ranking so as to not check the flagrant ones if desired.

  113. Re:Circumvent by bedessen · · Score: 3, Interesting

    His algorithm works because spam uses the same repetive syntax. Because so many spam/emails are sent out - it can be flagged by pattern recognition... based on the assumption that it is written in English!

    Huh? Where do you get that? The algorithm has NO KNOWLEDGE of syntax or structure. It knows only the presence (or absense) of words in the message, nothing of how they are grouped, positioned, ordered, related, structured, etc. There is zero grammar / pattern recognition as far as I can tell. As long as your corpus or database of reference mail is in the same language as the emails you wish to test, then the algorithm would work just fine. Perhaps you were thinking it used Markov chains?

  114. Might not work for my spam... by T.E.D. · · Score: 2

    Most of the spam I seem to get is in non-alphbetic character sets (Korean/Japaneese/Chineese, I'm not sure, I can't read it). I guess I hit the VIA support site in Taiwan one too many times or something.

    I don't know much about that character set, but I suspect they don't use the same separator characters that his filter is looking for to separate its tokens.

  115. Re:Foolproof way of eliminating spam right here by Hoi+Polloi · · Score: 2

    Sorry but you can't legislate common sense. Believe me, it's been tried.

    --
    It is by the juice of the coffee bean that thoughts acquire speed, the teeth acquire stains. The stains become a warning
  116. Re:Too bad! Patented By Microsoft by T.E.D. · · Score: 2

    They also have a paper from 1998 describing it here

  117. I have a real problem with this... by Hoi+Polloi · · Score: 2

    This wouldn't work for me anyway since my personal correspondance frequently contains the words "sex" and "sexy" not to mention "stud muffin".

    --
    It is by the juice of the coffee bean that thoughts acquire speed, the teeth acquire stains. The stains become a warning
  118. Re:Who doesn't get Lisp related porn? ;) by Hoi+Polloi · · Score: 2

    I'd say my experience learning LISP was obscene

    --
    It is by the juice of the coffee bean that thoughts acquire speed, the teeth acquire stains. The stains become a warning
  119. P2P for fighting spam? by incog8723 · · Score: 2, Interesting

    Maybe the concept of a P2P network could be harnessed in order to fight spam. For each spam tagged as actual spam by a real human, by a ridiculously large CRC (1024 bit or something--to rule out possibly tagging innocent mail), the CRC could be traded via the P2P network. Automatic updating, almost instantly. A client could be written in about 2k of code.

    Interacting with the email client would be another story, but just an idea.

    The only problem I can think of would be sabotage. Anyone could tag legitimate mass mailings as spam (such as a mailing list).

    Any comments on this idea?

  120. Re:Latest spammer trick by cpeterso · · Score: 2


    This would make spam detection EASIER! Sure, the first spam written like that would probably pass through undetected. But when the user hits the (mythical) delete-as-spam button, then the filter would recognize that of the emails containing phrases like "MAKE", 100% of them were spam and 0% were real emails. When the second "MAKE" email arrives, it will be immediately detected as "fishy". ;-)

  121. Re:spamassasin by susano_otter · · Score: 2

    RTFA: Graham clearly believes that highly efficient filters at the inbox level will have the long-term effect of making spam unprofitable for most spammers.

    Sure, in the short term you don't reduce your bandwidth costs, but imagine if a significant percentage of the population were using trained Bayesian probability filters! So little spam would get through that nobody would bother sending it anymore.

    --

    Any sufficiently well-organized community is indistinguishable from Government.

  122. World wide ban? by L-Train8 · · Score: 2

    Is the spam for Taiwanese products, or just routed through open mail relays in Taiwan? If it's the latter, we could certainly outlaw using spam as a marketing tool for US entrepeneurs. If your company or home business sends out spam from Taiwan to US computers, you would still be breaking the law.

    --

    Don't forget that Friday is Hawaiian shirt day.
    1. Re:World wide ban? by tomknight · · Score: 2
      It appears to be for Taiwanese products. The charset used seems to imply this. Otherwise you've a most valid point.

      Tom.

      --
      Oh arse
  123. No, YOU'RE wrong!!!! And here's why... by DoctorFrog · · Score: 2
    1) Spammers have to pay to produce their spam.

    2) If you don't read the spam, they have no revenue.

    3) You're gaining the valuable benefits of spam without paying for them.

    4) Therefore, not reading spam is STEALING!!!

    Oh, and

    5) ???

    6) Profit!!!

  124. There needs to be anti-porn legislation. by El+Camino+SS · · Score: 2

    We can all talk all day about Spam-busting techniques, but honestly, can we all get together and make sure that our nine year old doesn't get porn mail all the time? Stopping porn spam would really knock the wind out of the sails of all spammers everywhere. I mean, this thing seems like slam dunk legislation. I know that many of you will say that this is a slippery slope of legislation and scream "THINK ABOUT OUR FREEDOMS," but no one wants their children to see pornography.

    Really, all we need is some new-era Tipper Gore to scream the phrase we all hate at a Senate hearing... and no more porn spam:

    "Won't somebody please think about the children?!?"

    The chilling effects of this will be monumental. Why the current Right-Wing U.S. administration hasn't gone after this is totally beyond me. Its a cheap and easy target. Shows that they reinforce family values. I hardly agree in anything super-right wing, but this whole children-looking-at-steaming-hot-teens thing is ridiculous.

    Whether enforced or not, in the United States soliciting pornography to a minor is still very much illegal. I think that the /. crowd can really sell that tagline to our local legislator and put a real strike back in the spam wars.

  125. Re:spamassasin by nelsonal · · Score: 2

    I think the point of his filter is that your filter is unique to you. The filter is designed to pick up that you like foo, but don't like cc or something similar and it asigns a probability of the message being something that you would delete based on you current kept and deleted files. So unless there would have to be a word that everyone kept on their good list, and the spammer would have to keep up with the fact that your good list changes.
    If foo was one of the words that had a low probablity of being a spam, but spammers started using foo, and it still saw enough other bads to delete it, it would probably lower the likelihood that foo indicated a good message. It looked like a really solid system, hope someone finds a way to get this added to more inboxes quickly.

    --
    Degaussing scares the bad magnetism out of the monitor and fills it with good karma.
  126. Adaboost algorithm much better then bayes by brw215 · · Score: 2, Interesting

    There are several classification techniques in the field of machine learning that are all more powerful then simple native bayes. In fact in graduate school I built one that outperformed N.B. by a significant margin.
    If people want to claim a "great new idea" they should research what has been done in the field first.

  127. Re:OFF TOPIC by Tablizer · · Score: 2

    (* Gee, a bit OFF TOPIC wouldn't you say? *)

    The topic is partially about Paul Graham, and he holds the view that OOP is oversold.

    It is a "grey area" WRT topic relavancy, but not black.

    Usually a particular moderator that beleives the superficial OOP cliches will knock it down a point or two. He/she/it must be on vacation today.

  128. Re:spamassasin by susano_otter · · Score: 2

    True, but if you implemented it at the institutional level (corp mailservers, ISPs, &c.), then t3H stUpiDz won't even know what they're missing!

    --

    Any sufficiently well-organized community is indistinguishable from Government.

  129. Re:probalilties-"denial of service". by Sarin · · Score: 2

    Yeah they could, but it would take too much effort. They first have to make the probabilities factor change by sending you a whole lot of legitimate email (as if) and then later send you a spam message that can finally contain the words they made less likely to be spam.. wait a minute!

    hmm sounds like a great idea, how about this a elisa style bot starts a mail conversation with you after sending 10 mails back and forward the bot sends you a spam message, the bot has beaten your spamfilters because the filters don't think someone on your contact list would send you a spam message right and you will read the spam message quite focussed, the spam message will be actually read, because you don't understand it and you think the bot is a person!

    well don't be surprised if you experience it one day, remember this message, it started it all!

  130. No, it's _NOT_ easy to defeat. by Christopher+B.+Brown · · Score: 2
    I did a lot of tuning on Ifile, which I've been using for this purpose for about five years now.

    Consider:

    • It's doing FULL TEXT word search. The HTML is looked at.
    • Are they really going to generate different "innocuous" messages?

      If they are REPEATED innocuous messages that match against PAST "innocuous" messages that I decided were spam, that is going to pick this up.

    • Fool me once, shame on you.

      Then your message goes into the corpus as "spam."

      And messages that are written as multipart/alternative with statistically similar "innocuous" messages will be matched as spam.

    • The only "Wealth Of Evidence" that you can provide in an email to me that you aren't sending spam is for you to send me messages that have similar statistical parameters to those messages that I did not consider to be spam.

      You don't know the parameters. The parameters essentially involve the subjects I discuss with my family, or with friends, or with business associates, or with technical associates.

      How can you possibly construct, as a "spam-meister," messages that resemble those without being someone that I regularly communicate with?

    No, this "defeat" represents nothing of the sort.

    --
    If you're not part of the solution, you're part of the precipitate.
  131. Fight Spam? The $15 solution! by Conesus · · Score: 3, Interesting
    Ok, so the subject line looks like spam. But what I did was buy a domain (conesus.com) and setup auto-forwarding on everything @ the conesus.com domain.

    ANytime someone asks for my e-mail addres, it's their_business_name@conesus.com or their_personal_name@conesus.com.

    If I ever get spam from a certain address, I can block the address, and goto the site in question and change my address to something else.

    But the coolest part is if anybody sends a mass-email to me and my buds, they usually include a personal_message_to_me@conesus.com.

    --

    Don't eat your soul to fill your belly.
    conesus.com
  132. No bias; it's just an incomplete explanation by Christopher+B.+Brown · · Score: 2
    In my "corpus," consisting of many years of MH mail (quite a bit more than Graham's, I think), processed using Ifile, my stats for "sexy" pretty nicely pin down messages to either the Spam/Phonesex or Spam/Snakeoil folders. The word sex is rather less useful, as the word comes up in rather more common contexts than spam.

    But this isn't enough, by itself, to classify a message. Messages do not solely consist of one or two words; they consist of many. And collecting the statistics together requires calculating a "relevance factor," based on all the words.

    The one used for Naive Bayesian Inference is as follows: Rf calculation , and you'll notice it involves doing a logarithm-based weighting.

    The formula doesn't care what words are used, or that you think one folder contains "spam" and that another contains "gold."

    In my corpus, the word sex is used in 65 different mail folders, mostly probably pretty "innocently."

    Drawing conclusions based on one or two words is, unfortunately, pretty incomplete. It might well be that the one use of "sexy" in a particular message doesn't force it into the Spam/Phonesex folder because it makes even more extensive mention of Enlightenment and WindowMaker and GTK Themes and winds up being very strongly tied to the X/WindowManager folder because there are several other words not related to sexual activity that make it (correctly) appear relevant to a discussion of window managers.

    Graham is drawing an analogy based on two words (words likely to grip adolescent attention!); reality involves adding everything up, and those two words certainly don't tell the whole story of the whole corpus.

    --
    If you're not part of the solution, you're part of the precipitate.
  133. Foreign Word Circumvention by Christopher+B.+Brown · · Score: 3, Interesting
    No, the approach does not make any assumptions about words being constructed in English.

    The "foreign language" Spam that I get gets nicely refiled by Ifile into my Spam/Foreign folder.

    That folder has a corpus of messages assortedly written in Han, French, Kanji, Korean, Finnish, French, Spanish, and Russian, and Ifile nicely recognizes that words in those languages provide evidence that messages seem most relevant to go into that folder.

    Ultimately, it all involves human classification:

    • Initially, the corpus must be "primed" with an initial set of messages that I classify into the various categories I want to distinguish between.
    • Some messages are processed by Ifile into an appropriate mail folder.

      I go through them, and read them, perhaps just browsing titles when I see that spam seems appropriately filed.

      By leaving the messages in the folder, indicate that they were correctly filed, and should become part of the corpus.

    • Ifile drops some messages in the wrong folder.

      That then involves human intervention as I move the messages to where they should have been.

    Note that IFile is useful for filing good messages, not merely at throwing away spam.

    Indeed, the more that you use Bayesian filtering for, the more folders with distinctive kinds of message that you have, the better it gets at discriminating where messages should go. I don't have one "Spam" folder; I've got about 8 for different sorts of spam. I don't have one 'inbox' for all my "good" mail; the mail gets thrown into a veritable huge chasm of mail folders. The more there are, the better.

    --
    If you're not part of the solution, you're part of the precipitate.
  134. Not a problem, at least not technically by Christopher+B.+Brown · · Score: 2
    The results are not based on just one word, but rather on the combination of all the words in the message.

    The typical formula is
    Relevance - Rf

    There may be a bit of a "fight" between the words, but if all the messages containing the string my_wife@frobozz.org go in the Honey folder, and occasionally contain phrases like That dress was so sexy or the likes, that will change the Ff(w) value for f = Honey , and the message will be appropriately routed, perhaps into the subfolder Honey/Rendezvous where you put the weekly messages of that sort from your wife.

    Of course, there's then the non-technical problem, namely locating a wife that would actually send that message.


    "Since oral sex is topologically equivalent to anal sex, converting one to the other is simply a matter of finding the right conformal map. Currently I only have solutions for a spherical girlfriend." -- Robert Bowler
    --
    If you're not part of the solution, you're part of the precipitate.
  135. IF that's true, there's definite prior art by Christopher+B.+Brown · · Score: 2

    As Ifile source code is available that dates back as far as about 1996.

    --
    If you're not part of the solution, you're part of the precipitate.
  136. Legitimize spam to fight spam by kazbah · · Score: 2, Interesting

    I've had this theory for a long way on a technique that could be used to defeat spam once and for all. Despite what the author of this article states, trying to fight spam by analyzing the content is not going to defeat it, and as has been pointed out, there are many ways to work around that solution.

    Targetting the sending addresses, and most other techniques like that simply lead to wars of one-up-manship as the spammer and spam fighter struggle to find better techniques to hide and detect spam, respectively.

    So what's the theory? Fairly simple, really, and the technology is already available, but not widely implemented. Spam largely suffers from an identity problem. Consider that junk mail that arrives in the post box can easily be identified and/or blocked through legal means if necessary, largely because we know where it comes from. The reason spam has proliferated is because SMTP traffic is largely anonymous - mail servers basically trust the mail they receive and have no real way to verify the information being presented to them. Yes, they can check From: and To: headers to verify that the email is local / remote / relay attempt, whatever. But with the number of open relays on the net, it's easy to forge and bypass these checks.

    By using SSMTP (SMTP over SSL), all email can be logged with identifying information from the original sender. If enough servers on the net start to support SSMTP, and increasingly mandated its use, eventually I'd be able to block all regular SMTP traffic. This has the added advantage of making email more secure.

    But how does this stop spam? Well, it doesn't directly stop spam, but it means that we would legitimately be able to identify who originally sent the email. Once that happens, the spammer can no longer hide behind anonymous gateways. It probably wouldn't even matter too much if open relays were accidently left open - so long as the open relay didn't support SMTP but only supported SSMTP.

    Ideally, every user would require their own secure certs to properly identify the sender, but this would probably add too much cost for the average user, and may be rejected for privacy reasons. But so long as the mail servers themselves were configured this way, we would always be able to identify very quickly where the email was originally sourced, thus giving a recipient an easy place to target (and hence sue if it comes to that).

    As this takes off, it may actually be a way to make spam legitimate. The secure cert attached to the email could have an incentive allowing users to opt-in or opt-out automatically. A user could set their mail to say "yes, I'm willing to put up with ads if you're willing to pay me for it" putting the cost back on the person responsible for the spam in the first place - the advertiser.

    Anyway, it seems to me like a fairly simple way to solve this - but it does take a lot of co-operation to get there. Something that hasn't happened yet for IPv6, another new protocol that doesn't really seem to be getting off the ground. So what am I missing?

  137. Incomplete Presentation of Formula by Christopher+B.+Brown · · Score: 2
    The problem isn't with the statistics.

    We're talking about Naive Bayesian Filtering, where the assumption is made that we can assume the use of Bayes' formula even though we know it's not quite independent.

    What you're missing is that the real formula doesn't just involve two words; it involves all of the words in the message.

    The usual formula is Rf, and you'll notice that it involves multiplying the occurrances of words in the message with the logarithm of their frequencies in each folder.

    The word "sexy" may usually be enough to consign messages to the Spam/Websex folder, but if there are some occurances of the term "sexy window manager" in a discussion of some window managers, the fact that the names Enlightenment, WindowMaker, stupid , memory-hungry and themes occur rather a lot in X/WM and never in the Spam folders means the relevance total will most likely favor the right folder.

    --
    If you're not part of the solution, you're part of the precipitate.
  138. Re:Circumvent by kwerle · · Score: 2

    If you get a new email message that has a bunch of "non spam" words in it, it seems likely that it will not be marked as spam. As the article said, spammer's vocabulary is really limited.

  139. Re:What a pain! by DrVxD · · Score: 2

    > If my machine crashes, I have to start all over?
    No, you just restore from your backups. You do DO backups, don't you?

    --
    Not everything that can be measured matters; Not everything that matters can be measured.
  140. Looks good! SPAM button needed. by dwheeler · · Score: 2
    This looks great!

    I'd like to see mail browsers add a nice big "SPAM" button that will can do a number of configurable actions, and has a useful default. I suggest as the default that it forge and send back a "no such user" message, save the message in a "past spam" folder, and occasionally invokes a naive Bayesian statistical analysis program (as Graham describes) to create a filter for the future (then filter out email with a high probability of being spam). Perhaps it could optionally do other things, such as forward a copy to a list of email addresses (e.g., your local "abuse" account, the newsgroup news.admin.net-abuse.sightings, and email addresses of well-known spam killers), or calling on other spam killers to check it like SpamAssassin.

    Perhaps there could be checkbox beside each action like "don't do it when you press SPAM", "do it when you press SPAM", or "confirm before doing it when you press SPAM" - that way, you could get rid of chain letters without sending them to net-abuse.

    By building easily-invoked SPAM-handling capabilities right into the mail browsers, people will be able to fight back more easily.

    I know the Mozilla folks are considering anti-SPAM measures; I hope they're willing to build in this kind of functionality, so that it's enabled by default.

    --
    - David A. Wheeler (see my Secure Programming HOWTO)
  141. Spammer Nailer by jukal · · Score: 2

    I did this sometime ago, Unique Spam Invoicing System, USIS aka "Spammer Nailer". And am really planning to bill the spammers. The idea: spammers collects email by harvesters: this page contains an unique address and a service agreement, which says that by sending an e-mail to the address, you agree to the terms of service, which you can read at the url. And as the address is unique and I got the weblogs, there is atleast even some chance of nailing the spammer.

  142. Other ideas: legislators' email, no-spam hash db by dwheeler · · Score: 2
    This idea is neat.

    Another idea is to start putting lists of legislators' email addresses (as well as email addresses of their major supporters) on web pages so that spammers start spamming them, too. Legislators hire others to read their emails, and they surely have filters (false positives aren't a problem here!), but it could eventually become obvious even to legislators. Especially if you get the personal email addresses (according to many legislatures, it's legal to share the email address with spammers - if they don't want it to be, they'll need to pass a law to make it illegal!).

    Another idea: a non-profit organization creates and maintains a database of HASHES of email addresses that do NOT want spam (say MD5 and SHA-1 of canonicalized email addresses, e.g., all lower case; an entire site could be represented by "@mycompany.com"). Anyone can download the database, for a small fee. Anyone can add or remove their email address from the list for FREE (and it must always be free); they just need to subscribe/unsubscribe, with a separate email to confirm (to show that they really did add their email address to the list; entire sites could require "root" or "postmaster" to represent them). Then legislation can be enacted that gives serious $$ penalties to any spam to the "no-spam" list. Capturing the database wouldn't do any good; it would only provide hashes and date/time stamps.

    Anyway, just an idea.

    --
    - David A. Wheeler (see my Secure Programming HOWTO)
  143. Re:wrong by Dyolf+Knip · · Score: 2
    That is saying that if I don't have a car alarml, it is ok to steal it.

    No, it's like saying that if you not only don't have a car alarm, but leave it unlocked and the keys inside and put a sign on it that says, "Drive me to your heart's content", you don't get to complain when people do so.

    --
    Dyolf Knip
  144. another spammer justification by www.sorehands.com · · Score: 2

    No, it's like saying that if you not only don't have a car alarm, but leave it unlocked and the keys inside and put a sign on it that says, "Drive me to your heart's content", you don't get to complain when people do so.


    No, it is if you say, move the car, if you are blocked. Then you decide to take the car for a long drive.


    Spamming is stealing.


  145. Security thru obscurity again? by Tablizer · · Score: 2

    (* Yes, but how many spammers are going to reply to your challenge? Zero! And that alone will make the challenge an effective tool. *)

    If confirmation requests become a wide-spread practice, they *will* take advantage of that.

    Too many techniques here assume that what works in obscurity works en-mass also.

    Not the case. Spammers tarket the widest-used techniques. When something becomes wide use, kazaam!

  146. Re:that's my point by plover · · Score: 2
    I apologize, I didn't see your point this clearly in your first email.

    And I understand your second point about the utility of having an agent learning your prefrerences. But that is of maximum value in the situation you describe: reading news. That's a situation where you don't care if you miss 1% of the valuable stories. That's not true of email; or even if it is for some specific people it probably isn't acceptable performance for someone trying to distribute something called a "spam filter".

    I also understand your point about including headers vs. just the content, but I think it was a good choice on his part. I assume you've done some work on spam-fighting software. I have, and I can assure you that (at least a few years ago) some headers are truly spam-only-markers. He'd be passing up a great filtering chance if he didn't look at them.

    Perhaps the software needs to go that extra step: rather than have a "this is spam button", it probably already has a "move to this folder" option. Why not create a probability array rather than a single spam probability assigned to each dictionary word? Tie the folder names to probabilities in the array.

    Word Spam Inbox ChainLetters
    angels .2 .0 .8
    opportunity .8 .05 .15
    bertha .01 .01 .98
    FW: .05 .40 .45

    It could then transparently learn to move all my email, sending my Pilotgear mailings to my Pilotgear folder, etc. It would also reduce the "value" of automated senders as being only spam-related.

    I still wonder how an agent will be able to discern the difference between a chain letter from Aunt Bertha and a "Hi, this is Aunt Bertha, meet my plane tomorrow please?" Every message from her gets a "Love, Aunt Bertha/get your free Juno account" tagline at the bottom. So, "love" "aunt" "bertha" all become words that are very strongly associated with ChainLetter-taint, when the real fingerprint probably should be the "Fw:" at the head of the subject line (as well as every line beginning with '>') Without at least one good letter from Bertha, her email will always end up in the ChainLetters bin. But with an array of sorting options, at least they wouldn't end up heading straight to /dev/null.

    Perhaps other message-cumulative characteristics should be used in conjunction with word counts, such as message length, total count of exclamation points or dollar signs (or even of all individual ASCII characters,) grammar checker score, spell check score, etc. I think the overall concept of using a probability based mechanism rather than a score/threshhold mechanism is sound. I think we both agree that his approach needs more refinement.

    --
    John
  147. Proposed by waldoj · · Score: 2

    Would this also work with email virus? I think it would since the virus would also have a defined patern to it and the program would pick it up after the first one.

    I actually proposed this on Advogato many moons ago, in February of 2001.

    -Waldo Jaquith