procmail
[Top] [All Lists]

Using an "OR"

2002-06-05 13:28:33
Hi everyone!

I read that by illiminating the '*', it would create 'ORs' instead of
'ANDs'. Is this correct? The reason I'm asking is that the following
doesn't seem to work:

:0
* ^From: 
.*(shopping-values.com|cybercarsonline(_at_)yahoo(_dot_)com|gtreet245(_at_)excite(_dot_)com|marketing(_at_)imfc(_dot_)com)
  ^From: WebProNews
  ^Errors-To: morejunkmail
  ^Subject: .*(Credit Card|      *[0-9][0-9][0-9][0-9][0-9]*$)
  ^Subject: [Aa][Dd][Vv]: .*$
${SPAM}

Also, is it possible to mix header and body matches? I'd like to
collapse this block with the one above...

:0B:
* ^I send you this file in order to have your advice$
  ^Te mando este archivo para que me des tu punto de vista$
${SPAM}

Thanks,
js. 
-- 
Jean-Sebastien Morisset, Sr. UNIX Administrator <jsmoriss(_at_)mvlan(_dot_)net>
Personal Home Page <http://jsmoriss.mvlan.net:8080/>
"With sufficient thrust, pigs fly just fine." -- RFC 1925
_______________________________________________
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>