Post details: Filtering TOFU

30 April, 2005

Permalink 10:10 UTC, by Tom Martin Email , 214 words, 4494 views   English (US)
Categories: Gentoo

Filtering TOFU

This morning I discovered net-mail/t-prot. It's specifically designed for mutt users, but it should work with other MUAs, providing they're not one of these new fangled bloated graphical things.

Anyway, here's a URL: URL

The idea behind it was originally just to filter out classic TOFU, that is, "text oben, full-quote unten". This is a mish-mash of German and English meaning "text above -- full quote below", or just top posting to the rest of us.

However, t-prot filters out more than just TOFU. It gets rid of Outlook garbage and it can trim commercial and mailing list footers (or whatever footer you like). It can truncate RFC uncomformant signatures that are over four lines long. It does a bunch of other things too: trimming whitespace, repeated punctuation, blank lines, etc.

The best bit is that because it's just used as a display_filter in mutt, the original mail is unchanged. This means there're no strings attached, so try it out.

Just for the hell of it, here's a screenshot before (left) and after (right). Click on the images for full-size, if you're bored.

before t-prot after t-prot

Interestingly, the person having their mail snipped by t-prot for having a huge RFC unconformant signature is also part of the ASCII ribbon campaign. It takes all sorts, I suppose.

Comments:

No Comments for this post yet...

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))

Tom Martin

Web log for Tom Martin (slarti), a recruiters, AMD64, net-mail, shell-tools and vim developer.

October 2008
Mon Tue Wed Thu Fri Sat Sun
<< <     
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Search

Categories

Misc

XML Feeds

What is RSS?

Who's Online?

  • Guest Users: 54

powered by
b2evolution