From owner-freebsd-questions Fri Jan 29 10:14:56 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA20772 for freebsd-questions-outgoing; Fri, 29 Jan 1999 10:14:56 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from java.dpcsys.com (java.dpcsys.com [206.16.184.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA20767 for ; Fri, 29 Jan 1999 10:14:54 -0800 (PST) (envelope-from dan@dpcsys.com) Received: from localhost (dan@localhost) by java.dpcsys.com (8.9.1a/8.9.1) with SMTP id KAA27085; Fri, 29 Jan 1999 10:14:50 -0800 (PST) Date: Fri, 29 Jan 1999 10:14:50 -0800 (PST) From: Dan Busarow To: Charlie Root cc: eddie@silk.net, freebsd-questions@FreeBSD.ORG Subject: Re: Procmail, HTML, /dev/null In-Reply-To: <19990128225442V.wghicks@wghicks.bellsouth.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 28 Jan 1999, Charlie Root wrote: > From: Eddie Lawhead > Subject: Procmail, HTML, /dev/null > Date: Thu, 28 Jan 1999 11:28:17 -0800 (PST) > > > I may be dence, but I know almost nothing about HTML mail, only that it is > > a pain, hard to read, and promotes M$. Could someone tell me how I can > > redirect it with procmail and then auto respond to the person sending it > > telling them to get a real mailer? This is from a spam filter so it allows Mime with HTML through. Easy enough to eliminate that check. Pretty simple minded but it does catch a lot of spam for me (which is filed in $HOME/spam in my case). :0 * !^Mime-Version * |^X-Loop: nohtml@yourdomain.com * B ?? ^^ { | ( formail -b -rA"Precedence: junk" \ -A"X-Loop: nohtml@yourdomain.com" \ cat $HOME/nohtml.txt ) -s $SENDMAIL -oi -t } nohtml.txt needs to be a valid email message including a From: line and any other headers you want followed by a blank line and then the instructional message. > I found slocal from /usr/ports/mail/mh to be easier for me to understand. > > Cheers, > > Jerry Hicks > wghicks@bellsouth.net > Dan -- Dan Busarow 949 443 4172 Dana Point Communications, Inc. dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message