From owner-freebsd-questions Wed Jan 2 8: 0:52 2002 Delivered-To: freebsd-questions@freebsd.org Received: from blacklamb.mykitchentable.net (ekgr-dsl2-77.citlink.net [207.173.226.77]) by hub.freebsd.org (Postfix) with ESMTP id 332CD37B417 for ; Wed, 2 Jan 2002 08:00:46 -0800 (PST) Received: from tagalong (unknown [165.107.42.196]) by blacklamb.mykitchentable.net (Postfix) with SMTP id 2132DEE652; Wed, 2 Jan 2002 08:00:40 -0800 (PST) Message-ID: <004101c193a6$a00fd190$c42a6ba5@lc.ca.gov> From: "Drew Tomlinson" To: "Anthony Atkielski" Cc: References: <20011230170851.U64198-100000@mail.radzinschi.com> <00be01c19183$9c782f70$0a00000a@atkielski.com> <20011231084155.GB2016@rhadamanth> <01e001c191dd$f99f6f60$0a00000a@atkielski.com> <20020101144511.A777@starpower.net> <042f01c19355$1724de80$0a00000a@atkielski.com> Subject: HTML Mail Filtering (Was Re: Teaching parents UNIX) Date: Wed, 2 Jan 2002 08:00:39 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Anthony Atkielski" To: "Bob Hall" ; "FreeBSD-Questions" Sent: Tuesday, January 01, 2002 10:17 PM Subject: Re: Teaching parents UNIX > Bob writes: > > > It has occurred to me that I could set up a > > filter that automatically discarded any e-mail > > containing HTML tags and the only thing I would > > lose would be spam. > > This same idea has occurred to me, but I've been too lazy to pursue it thus > far. Almost nothing I receive is in HTML, except spam and the occasional > message from a clueless AOL user. Unfortunately, Outlook Express provides > no way of deleting HTML e-mail, so I was trying to think of a way to filter > it out on my server. I was thinking that maybe a small Perl program to > receive all messages and strip out HTML content would work. I know there > are tools like procmail about, but they seem like overkill for such a simple > function, and I'm not sure tha they'd do what I want (I'm probably more > interested in just removing HTML content than in actually deleting an entire > message). If you *do* decide to use Procmail, the Email Sanitizer will do what you want. You can check it out at http://www.impsec.org/email-tools/procmail-security.html. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message