6085 comments
2357 subscribers
6224 on Twitter
Subscribe! Feed reader E-mail

Trudge, trudge, trudge

Oh no, I’ve hit the slump.

I spent some time working on the Wicked Cool Emacs today. Spam filtering – not something I’d set up before. I’m writing it because I promised to write it, but I can’t shake off the feeling that this part would be better done by someone who’s passionate about Emacs and spam filtering. I have Google handle my spam filtering for me, so I haven’t needed to do anything more sophisticated. Still, not everyone’s going to have the same set-up, so it would be good to document that too.

I’m tempted to jump to a different chapter and start working on that, just to make working on the book fun again.

Short URL: http://sachachua.com/blog/p/4931
  • http://hexmode.com/ Mark A Hershberger

    I set up spam filtering, not because I don’t have spam filtering on my mail hosting (I do, and it blocks 90+% of email … not spam, mind you, but 90+% of delivery attempts) but because it wasn’t adequate. My email address has stayed the same for 9 years or so and I haven’t tried to keep it secret, so it has accumulated a bit of a following in the spammer community.

    As I said, SpamAssassin and sa-exim block over 90% of email at the server level, but spam still gets through. So, on my laptop, I have Emacs configured to filter email with CRM114. It adds some time to the mail reading process, but I end up with my Inbox being mostly spam-free.

    It wasn’t the most intuitive thing, but filling my .gnus with:
    (spam-initialize)
    (setq nnimap-split-inbox '("INBOX")
    nnimap-split-rule 'nnimap-split-fancy
    nnimap-split-fancy '(: spam-split))

    And then in a *Group* buffer, with point over my nnimap groups I hit “G c” and configure away.

    I’m leaving out the vitally important CRM114 bit, of course. And none of this was much fun, but it did make reading email more bearable.

    (Even Google doesn’t seem to filter out all the spam…)

  • http://alexott.blogspot.com Alex Ott

    i have small article about spam filtering in Gnus (3-4 pages), that i wrote 3 or 4 years ago (in Russian, but i can translate it if you need, or you can look to it via Google Translate)

  • http://niels.kicks-ass.org Niels Giesen

    Well, I recognise the feeling. Writing something that you do not immediately see the need or use for for yourself can be pretty boring indeed. Like coding for IE. So if we’d really want to help you we should all try and circumvent Google’s spam filter, and spam you really hard, so that you do feel the need. Somehow however, this just does not feel right.

    So how do we get spam filtering exciting? As I remember, the one chapter of Peter Seibel’s book Practical Common Lisp considering spam filtering was one of the few that did not really much to me (I let Google do the work too…). It might however be worth and interesting porting that code to Emacs Lisp. Then you can see it as a venture into the differences and commonalities between these two branches of the Lisp family – taking your mind of spam, but still working on it.

  • Andrey Fedorov

    Norvig once made a point that algorithms of the same complexity work better as you have more data until a certain point, after which their effectiveness levels off. I’m fairly certain that for spam filtering, that point is well above a single mailbox worth of data, so this is probably a problem that Google is in much better of a place to solve than someone with a single mailbox.

  • http://randell.ph/geeky randell

    Hey Sacha, do you have a deadline for your Emacs book? When will it be released? :D

  • Gour

    Hi Sacha!

    The same question: when the book will be available?

    Sincerely,
    Gour

On This Day...

  • 2012: Still working on that shift from services to products — I’ve been in business for four months, hooray! Consulting is going well. I want to learn how to build products, [...]
  • 2011: Portal 2 and teachable moments in argument — Portal 2 became an obsession in our household after W- shared with us the Youtube clips of the ending songs, [...]
  • 2010: Seven Tips for Short Talks — Regina Zaliznyak asked me to put together a presentation to help IBM’s Extreme Blue interns give better 4-minute pitches to [...]
  • 2009: Cultivating enthusiasm — W- turned to J- and asked, “So, why don’t you want to go to summer camp?” “The first reason is that [...]
  • 2009: Log your accomplishments — If you’ve ever wondered where the day went, or where the week went, or where the month or year went, [...]
  • 2009: Weekly review: Week ending June 21, 2009 — From last week’s plans Social Recruiting Summit Taking the Stage: The Power of Voice Develop Drupal system – Transition2 Got the forums to [...]
  • 2008: Web 2.0 @ Work: Creating a professional profile — Do you have a professional website, or do you just leave your professional profile up to random Internet search results [...]
  • 2008: Weekly review: Week ending June 22, 2008 — More Drupal work! This week, I wrapped up the first phase of my project at work. I’m starting to feel [...]
  • 2005: Geeks and soft stuff — Kathy Sierra (Creating Passionate Users) was surprised to find that geeks are very interested in learning about “soft” topics like community. I’m [...]
  • 2005: Information Design — While reading about presentation skills, I stumbled across a page entitled “So where are all the Information Designers?”. I found [...]
  • 2005: Good presentation tips — Five Rules for Better PowerPoint Presentations (from Working Smart) is a great post on presentation skills. Here are his five [...]
  • 2004: Potato surprise — The potato surprise mentioned yesterday was actually pretty okay, although I think I should’ve left it in the micro for a minute [...]
  • 2004: Tickle Super-IQ test — 131? Hmm. I wonder what questions I got wrong… <muses> The way you think about things makes you a Creative Theorist. [...]
  • 2004: Knoppix: The Easiest Way to Get Started with Linux — (Description of talk I’ll deliver at the Philippine Open Source Conference on 2004.08.17 from 15:00 to 17:00) Want to try out Linux without [...]
  • 2003: Look into literate programming — Literate programming principles might be the thing I need to make HTML sites with code in them.

Get the highlights as a PDF!

Stories from my Twenties: Highlights from a Decade of Blogging