git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Bogofilter is my emails

From
Linus Torvalds <torvalds@osdl.org>
Date
Sep 3, 2006, 23:09 UTC
Message-ID
<Pine.LNX.4.64.0609031550330.27779@g5.osdl.org>
In-Reply-To
<20060903040222.GB29756@spearce.org>
On Sun, 3 Sep 2006, Shawn Pearce wrote:
Show 5 quoted lines
> 
> I'm not quite sure how to fix either message to get them to the list.
> Neither email was a patch so I'm not going to try resending them
> but I'm certainly a little curious as to how my email writing style
> twice tripped bogofilter's spam switch.
I'm surprised and disgusted that vger started using bogofilter.

Last I saw, the bogofilter approach was totally bogus, using purely single-word frequencies (or, more strictly, a "does word X exist or not", where X has often gone through what a linguist would probably call a "lemmatizer", ie something that turns different forms of the same word into its canonical word, aka "lemma") for its "bayesian" filtering.

Maybe they've enhanced it enough since, but it certainly used to be not only fairly easy to fool, since it at least originally didn't take any account at all of any more complex structure.

There's even some papers about how the bayesian thing does not work well (even when extended to do some phrases and with lemmatization) if the cut-off is hard.

I think the bogofilter is probably an acceptable input as _one_ of many rules for a real spam-filter (ie as one of many spamassassin rules), but not for what vger does.

Hard rules at mail acceptance are much better if they use some really hard datum. For example, checking that the sending site actually also receives email, and that it resolves back to itself. That's one thing that OSDL does, for example, and it means that you can only send me email if your machine is actually designated as a MX gateway. That cuts down on a _lot_ of spam.

(I'd love to speak of the details, but I wouldn't know. Kees Cook set it all up at osdl, and I can just say that it works beautifully.)

		Linus
-- 
VGER BF report: U 0.720981
Previous: Davide LibenziNext: Junio C Hamano
Message 3 of 5 in “Bogofilter is my emails”
  1. Shawn PearceSep 3, 2006
  2. Davide LibenziSep 3, 2006
  3. Linus TorvaldsSep 3, 2006
  4. Junio C HamanoSep 4, 2006
  5. Martin LanghoffSep 4, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.