procmail
[Top] [All Lists]

RE: Spam filter for detecting same name in From and Subject headers

2007-01-30 09:30:59
 

Dallman wrote:

It makes more algorithmical sense to turn the logic around, though.
Look for a Subject with "<x> wrote:" >and find the <x> and look for it
in the From:.

  :0
  * ^Subject:.*\/[^    ]+ wrote:$
  * MATCH ?? ^^\/[^ ]+
  * $ ^From:[  ]*["]$MATCH ()
  $spam

I used the example as a way to understand the procmail receipt.
What the () at the end of "^From" for? I seem can not find an
explanation from the manual?

Rgds,
Kfl.

 


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail