procmail
[Top] [All Lists]

Re: junk email header

1998-01-16 10:58:53
At 08:43 AM 1/16/98 -0800, Professional Software Engineering wrote:

Message-ID: <jJC8duq(_at_)4ukg8A96lmhg8>

:0:
* ! ^Message-ID:.*@
looks_like_spam

oops, I failed to note that the Message-ID did in fact contain '@'.

However, the following should catch it:

:0:
* ! ^Message-ID:(_dot_)*(_at_)(_dot_)+\(_dot_)(_dot_)+
looks_like_spam

This looks for a messageid not containing an '@' followed by at least one
of whatever, followed by a dot, followed by at least one of whatever (you
could get more retentive if you wanted to).  Thus, the bogus Message-ID
would have failed because of no dotted domain following the @, as well as
these sorts of ids:
        <120913497(_at_)aol>            (no dot)
        <039481234.aol>         (no at)
        <1231239(_dot_)1241(_at_)aol>   (still no dot after the @)

Besides broken mailers (which I'm about to give up on anyway), anyone see a
problem with the revised rule?  Suggested improvements?

---
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

 Sean B. Straw / Professional Software Engineering
 Post Box 2395 / San Rafael, CA  94912-2395

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