procmail
[Top] [All Lists]

Re: Why is it Skipping???

2000-09-20 15:33:07
Matt answered Robert,

| procmail only allows one command per line. Notice your
| '! me(_at_)mycompany(_dot_)com' command is kind of stranded.

Exactly.

| Try (untested!)
| 
| :0:

That needs a `c' flag: ":0c:".

| * ^(To|Cc)(_dot_)*poohba(_at_)io(_dot_)com
| * ! ^FROM_DAEMON
| * ! ^X-Loop: poohba(_at_)io\(_dot_)com
| * ! ^Subject.*Dulug
| temp
| 
| :0A
| ! me(_at_)mycompany(_dot_)com

Yup.

| Or
| 
| :0
| * ^(To|Cc)(_dot_)*poohba(_at_)io(_dot_)com
| * ! ^FROM_DAEMON
| * ! ^X-Loop: poohba(_at_)io\(_dot_)com
| * ! ^Subject.*Dulug
| {
|  :0c:
|  temp
| 
|  :0
|  ! me(_at_)mycompany(_dot_)com
| }

Yes, and perhaps Robert should also be using ^TO_ instead of ^(To|Cc).*
in the first condition.


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