Ubuntu Professionals Forum?

Tim Tebbit ttebbit at gmail.com
Mon Sep 14 06:22:19 UTC 2009


Siggy Brentrup wrote:
>  
> After some weeks of lurking around here, I doubt it will work.  I'm
> thinking about installing a HTML scrubber on my MX and find a means to
> evaluate my scores file there too, maybe I'll implement that as a
> postfix transport :).
> 

Procmail will happily scrub them out. Replace /tmp/html with /dev/null
if you really hate them.


# html only message
:0:
* ^Content-Type:.*text/html
/tmp/html

# regular multipart/alternative (html or richtext)
:0:
* ^Content-Type: multipart/(alternative|mixed|related)
/tmp/html

# condition for messages exceeding 20K in size
:0:
* > 20000
/tmp/html







More information about the ubuntu-users mailing list