From owner-freebsd-questions@FreeBSD.ORG Wed Feb 23 05:50:21 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 071BE16A4CF for ; Wed, 23 Feb 2005 05:50:21 +0000 (GMT) Received: from vms040pub.verizon.net (vms040pub.verizon.net [206.46.252.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DFFE43D2D for ; Wed, 23 Feb 2005 05:50:20 +0000 (GMT) (envelope-from leblanc@keyslapper.net) Received: from keyslapper.net ([68.163.189.143])0.04 <0ICC00EXEO7VMT21@vms040.mailsrvcs.net> for freebsd-questions@freebsd.org; Tue, 22 Feb 2005 23:50:20 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by keyslapper.net (Postfix) with ESMTP id 7299C1152C for ; Wed, 23 Feb 2005 00:50:19 -0500 (EST) Received: from keyslapper.net ([127.0.0.1]) by localhost (keyslapper.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 88797-04 for ; Wed, 23 Feb 2005 00:50:19 -0500 (EST) Received: by keyslapper.net (Postfix, from userid 1001) id 3C75311529; Wed, 23 Feb 2005 00:50:19 -0500 (EST) Date: Wed, 23 Feb 2005 00:50:19 -0500 From: Louis LeBlanc In-reply-to: <200502222316.32866.m.hauber@mchsi.com> To: freebsd-questions@freebsd.org Mail-Followup-To: freebsd-questions@freebsd.org Message-id: <20050223055018.GA82969@keyslapper.net> MIME-version: 1.0 Content-type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary=rwEMma7ioTxnRzrJ Content-disposition: inline X-PGP-Key: http://www.keyslapper.net/~leblanc/leblanc-at-keyslapper-net.asc X-Virus-Scanned: amavisd-new at keyslapper.net References: <200502222316.32866.m.hauber@mchsi.com> User-Agent: Mutt/1.5.8i Subject: Re: filtering html tags from email X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2005 05:50:21 -0000 --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 02/22/05 11:16 PM, Mike Hauber sat at the `puter and typed: > Without going through the hassle of setting up proxy servers,=20 > isn't there a way that one can filter out html tags from a=20 > message (say, pipe the email through the filter from kmail for=20 > instance?) >=20 > Perhaps I'm looking too hard for it, but I didn't see anything in=20 > the ports tree except for /mail/nohtml. I tried to pipe a html=20 > message through nohtml.py from kmail, but doesn't seem to work=20 > (although I'm getting no errors from kmail's filter log). >=20 > Any ideas? Thx. Mutt saves to a temp file then calls the following command: lynx -localhost -dump %s where '%s' is the temporary file you saved it to. You could also just pipe it to the following: lynx -localhost -dump -stdin the -localhost argument prevents lynx from simply following links external to your machine - helpful to avoid generating hits for unscrupulous spammers that get paid for hits on a URL. Just make sure lynx is installed. Lou --=20 Louis LeBlanc FreeBSD-at-keyslapper-DOT-net Fully Funded Hobbyist, KeySlapper Extrordinaire :) Please send off-list email to: leblanc at keyslapper d.t net Key fingerprint =3D C5E7 4762 F071 CE3B ED51 4FB8 AF85 A2FE 80C8 D9A2 Habit is habit, and not to be flung out of the window by any man, but coaxed down-stairs a step at a time. -- Mark Twain, "Pudd'nhead Wilson's Calendar --rwEMma7ioTxnRzrJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCHBmar4Wi/oDI2aIRAvr4AJwITqWixImbYC5QF1Z3Xq0uMBerEQCdECML IysuV0pdvn3or+4weMeenwo= =CcYr -----END PGP SIGNATURE----- --rwEMma7ioTxnRzrJ--