procmail
[Top] [All Lists]

Re: Unidentified subject!

1997-09-01 09:05:49
On Mon, 1 Sep 1997 0123456789(_at_)filterthis(_dot_)edu wrote:

I have been receiving an increasing amount of unsolicited email with
the From field containing all numbers before the '@', example:
  From: 03195750(_at_)msn(_dot_)com
I tried to puzzle out the regular expression syntax but could not find a
way to detect 'everything between From: and @ is all numbers'

junkfilter, my filter set, uses:

# Any number(_at_)*(_dot_)com, address(_at_)number(_dot_)com or 
number(_at_)number(_dot_)com address : spam.
# almost.  additions will be made to the exception list only as necessary.
:0E
* ^From: ([0-9]+(_at_)[0-9]+\(_dot_)com|[0-9]+@|@[0-9]+\.com)
* !^From:(_dot_)*(_at_)2600(_dot_)com
{ SPAMMER="numbers at numbers" }

It caught your forged-From: message, btw.

GReg
--
Gregory S. Sutter                       "How do I read this file?"
mailto:gsutter(_at_)pobox(_dot_)com                "You uudecode it."
http://www.pobox.com/~gsutter/          "I I I decode it?"
junkfilter for procmail: http://www.pobox.com/~gsutter/junkmail/

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