procmail
[Top] [All Lists]

Re: question on procmail filters

2002-02-15 09:12:24

Why would Kris not just be able to do this:

:0
* ^Subject:.*earn money
spam




|---------+----------------------------------->
|         |           PSE-L(_at_)mail(_dot_)professional(_dot_)|
|         |           org (Professional       |
|         |           Software Engineering)   |
|         |           Sent by:                |
|         |           procmail-admin(_at_)Lists(_dot_)RWT|
|         |           H-Aachen.DE             |
|         |                                   |
|         |                                   |
|         |           02/15/2002 12:48 AM     |
|         |           Please respond to       |
|         |           procmail-users          |
|         |                                   |
|---------+----------------------------------->
  
------------------------------------------------------------------------------------------------------------------------------|
  |                                                                             
                                                 |
  |       To:       procmail-users(_at_)procmail(_dot_)org                      
                                                            |
  |       cc:                                                                   
                                                 |
  |       Subject:  Re: question on procmail filters                            
                                                 |
  
------------------------------------------------------------------------------------------------------------------------------|




At 16:41 2002-02-14 -0500, Kris Austin-Murray wrote:

i've tried every possible way to filter 'earn money' but it doesn't work.

You missed another one, using scoring:

:0:
* -1^0
* 1^0 ^Subject:.*earn
* 1^0 ^Subject:.*money
spam


here are a few recipes i've tested that failed:

You should enable VERBOSE logging and take a look at the logs generated.

:0
* ^Subject:.*\<earn\>.*
* ^Subject:.*\<money\>.*
spam

I doubt you have *TWO* subject lines.

:0
* ^Subject:.*earn.*
* ^Subject:.*money.*
spam

trailing wildcards are unnecessary.

:0
* ^Subject:.*earn.*money.*
spam

You should specify a lockfile flag.  Lose the trailing wildcard.  This rule
should work fine.

---
  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



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

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