Just had a spam get through my filters today.
This is the filter that failed:
:0fwh
* ? fgrep $SENDER $FOLKS
| $FORMAIL -I"X-good: yes"
If the header is present, the mail does not get "despammed".
I get the variable $SENDER, this way. FOLKS is just the file where I keep
my list of people I want to hear from.
FROM=`$FORMAIL -zrx To:`
SENDER=`echo $FROM | sed -e 's/@.*//'`
The headers of the offending message are:
Return-Path: <NWS(_at_)juno(_dot_)com>
Received: from mail-gw.pacbell.net (mail-gw.pacbell.net [206.13.28.25]) by
mail6 (8.6.13/Netcom)
id KAA08855; Sat, 31 May 1997 10:49:22 -0700
From: NWS(_at_)juno(_dot_)com
Received: from 206.13.28.25 (dd41-149.compuserve.com [199.174.173.149]) by
mail-gw.pacbell.net (8.8.5/8.7.1) with SMTP id KAA08705; Sat, 31 May 1997
10:46:48 -0700 (PDT)
Date: Sat, 31 May 97 12:06:22 EST
To: Friend(_at_)public(_dot_)com
Subject: NWS Internet Newsletter
Message-ID: <>
Reply-To: no(_at_)reply(_dot_)com
X-good: yes
I do not have any form of nws in my FOLKS listing, and juno is on my watch
site list. Nor do I have a verbose log for this, since I wasn't expecting
it.
--
Q: What is "SMOORPLAY"?
A: It's what SMURFS do before they SMUCK, of course!