procmail
[Top] [All Lists]

Re: Identifying spam by those numbers at the end of subject line

2003-09-23 16:08:23
At 18:16 2003-09-23 -0400, Dick Adams wrote:
At the end of the subject line of some spam, there are
several spaces followed by four numbers.  Does anyone
have a recipe for detecting this?

No, but I just spent 20 seconds writing one for you:

# subject trailed by 4 digits (and optionally, whitespace beyond them)
:0:
* ^Subject:.*[0-9][0-9][0-9][0-9][      ]*$
spew.mbx

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail