Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!pasteur!ucbvax!ucsd!sdcsvax!ucsdhub!esosun!seismo!uunet!cos!pae
From: pae@cos.com (Paul A. Ebersman)
Newsgroups: comp.mail.misc
Subject: Re: Filtering junk mail
Message-ID: <11581@cos.com>
Date: 5 Dec 88 15:02:46 GMT
References: <442@ur-cc.UUCP>
Organization: Corporation for Open Systems, McLean, VA
Lines: 25

From article <442@ur-cc.UUCP>, by msir_ltd@uhura.cc.rochester.edu (Mark Sirota):
 In article <79561@sun.uucp> kuro@sun.UUCP (Teruhiko Kurosaka) writes
> Does anyone out there knows any way to insert a filter program
> in the sendmail daemon so that a piece of e-mail that meets
> a certain criteria (such as addressed to an alias but not addressed
> to the user directly) goes to a designated folder automatically, or
> just be thrown away?


The Elm mail program (currently v2.1 patch level 1) includes a program
called "filter" which you put in your .forward file. Filter uses a rule
set that you make to filter your mail. It has string matching on To:,
From:, and Subject fields and can also key on # of lines. I couldn't
handle the amount of mail I get easily without this.

---
               Paul A. Ebersman @ Corporation for Open Systems
  pae@cos.COM or pae%cos.com@uunet.uu.net or {uunet, sundc, hadron}!cos!pae
     ( The difference between practice and theory in practice is always
      greater than the difference between practice and theory in theory. )
-- 
               Paul A. Ebersman @ Corporation for Open Systems
  pae@cos.COM or pae%cos.com@uunet.uu.net or {uunet, sundc, hadron}!cos!pae
     ( The difference between practice and theory in practice is always
      greater than the difference between practice and theory in theory. )