How to apply multiple rules for 1 email

Scenario: I meet a case which need to filter out the email with the following pattern:

Symbol: xxx
Price: xxx
Target: xxx

At first, when I do the following in procmailrc:

* .*Symbol:.*Price:.*Target.*

I still cannot filter out the email.

After surfing the web, if you want to apply more than 1 rule, you need to divided it so that 1 line account for 1 rule. In this case, there are 3 rules:

- Symbol:
- Price:
- Target:

So, my procmailrc is written as follow:

* .*Symbol:.*
* .*Price:.*
* .*Target:.*

Than, it works!

Hope some body would find it help.

Comments

Popular posts from this blog

TCPDF How to show/display Chinese Character?

Wordpress Load balancing: 2 web servers 1 MySQL without any Cloud services

Using wget bypass htaccess username password 401 authorization