procmail
[Top] [All Lists]

Re: A Call To Responsibility...

1995-10-30 13:19:30
Steven L. Baur writes on 30 October 1995 at 10:10:13
"Adam" == Adam Shostack <adam(_at_)bwh(_dot_)harvard(_dot_)edu> writes:

   Adam>      Therae are appropriate and inapropriate places for
   Adam> this sort of message or call to arms.  Every group to which
   Adam> the spam was posted is not the appropriate place.

One of the reasons I made the move here for mail processing with
procmail was the possibility of getting it to wipe out spam DOA.  I
would hope that despamming techniques with procmail *is* an
appropriate topic for this particular list.

Ok fine.  So lets begin to discuss some techniques for finding (and
thus deleting) SPAMs using procmail.  Something that would have caught
this particular spam is a check for more than a single address in the
"From: " header (presumably used so that a Reply would go out to all
the mailing lists again).  Here's an imperfect start
   :0
   * ^From:( |  )?(_dot_)*(_at_)(_dot_)*\(_dot_)(_dot_)*,
   /dev/null
that is pitch any From: header with a comma in it.  I've tried to make
the regexp is little bit more commplicated so as to only match a comma
after an email address and not a "From: " header like
   From: "J. Daniel Smith, Bristol Technology" <dan(_at_)bristol(_dot_)com>

   Dan
--------------------- message is author's opinion only --------------------
J. Daniel Smith <DanS(_at_)bristol(_dot_)com>              
http://www.bristol.com/~dan
Bristol Technology Inc.                     +1 203 438 6969, 438-5013 (FAX)
Ridgefield, Connecticut (USA)                       
{info,jobs}(_at_)bristol(_dot_)com
                                 --------
Von guten Maechten wunderbar geboren, erwarten wir getrost, was kommen
mag.  Gott ist mit uns am Abend und am Morgen, und ganz gewiss an
jedem neuen Tag.   - Dietrich Bonhoeffer

<Prev in Thread] Current Thread [Next in Thread>