From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21735 invoked from network); 19 Feb 2003 11:49:59 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 19 Feb 2003 11:49:59 -0000 Received: (qmail 7859 invoked by alias); 19 Feb 2003 11:49:15 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5930 Received: (qmail 7852 invoked from network); 19 Feb 2003 11:49:14 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 19 Feb 2003 11:49:14 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [24.27.11.52] by sunsite.dk (MessageWall 1.0.8) with SMTP; 19 Feb 2003 11:49:13 -0000 Date: Wed, 19 Feb 2003 05:49:11 -0600 From: John Buttery To: zsh-users@sunsite.dk Subject: Re: Please remove this spamming asshole Message-ID: <20030219114911.GF21085@io.com> Mail-Followup-To: zsh-users@sunsite.dk References: <20030215183407.55965.qmail@web13707.mail.yahoo.com> <6269.1045642878@finches.logica.co.uk> <3E53487C.1010508@uk.ibm.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+ts6NCQ4mrNQIV8p" Content-Disposition: inline In-Reply-To: <3E53487C.1010508@uk.ibm.com> User-Agent: Mutt/1.4i X-Files: The Truth is Out There X-PGP-Keyid: 0x587F0CD702368857 X-PGP-Fingerprint: 947F E6B0 EFBA D239 0881 50A0 587F 0CD7 0236 8857 X-Message-Flag: Outlook/Eudora users: This is an email with a standards-compliant crypto signature. Blame Microsoft/Qualcomm if they mangle it. --+ts6NCQ4mrNQIV8p Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Cosmo [2003-02-19 09:03:56 +0000]: > There are plenty of XXXX->html converters for all sorts of doc types > but I'm not aware of a html->text converter - everyone seems hellbent > on producing html even if just to be able to print the heading in > *boldface*. I'm not sure how resource-intensive this is -- I know it works fine for my mail and I get over 100 messages a day, most of them spam -- but I use lynx via procmail to convert text/html emails to text/plain (I leave multipart ones intact). If you want my personal opinion (and as the saying goes, everybody's got one :p), any email with a content-type of text/html should be stopped cold. If Hotmail is using it, well, their users might finally have to feel 1/100th of the pain that their usage of that service inflicts on the rest of the net. Note that text/html is not the same as multipart, where at least normal mail clients can get at a plain text version to display (even if we still have to deal with the overall sluggishness of the Net that results from SMTP-ing around all that extra HTML crap), although as you can probably guess I have no love lost with that format either. :0 * ^Content-type: text/html { =20 :0 c ${MAILDIR}/inc/html-safetynet :0 fb |lynx -nopause -force_html -dump /dev/stdin :0 afwh |formail -i "Content-type: text/plain" -I "X-HTML-Strip: 1.0" } As a list maintainer, you'll probably want to remove that little clause that writes a copy to the "html-safetynet" file. For everyone's information, I have never once recovered a legitimate email from that folder in the year I've been using this recipe, so I'm not sure why I keep it around myself... Anyway, after running this recipe you'll wind up with these three headers: Old-Content-type: text/html Content-type: text/plain X-HTML-Strip: 1.0 =20 The first is added by formail when it replaces the "Content-type" header...it "backs up" the old one. The second, well duh. :p The third one is just something I arbitrarily added so I could see at a glance whether an email had been "filtered"...just in case a legit one ever came in and I for some reason needed to recover the original HTML version. --=20 ------------------------------------------------------------------------ John Buttery (Web page temporarily unavailable) ------------------------------------------------------------------------ --+ts6NCQ4mrNQIV8p Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) iD8DBQE+U283WH8M1wI2iFcRAqbKAJ9oZZHb6431ky0+7FJkPNmUWh/7wACeKrKM AZUscX9Vl2TO+77H/0C9DMs= =5zg6 -----END PGP SIGNATURE----- --+ts6NCQ4mrNQIV8p--