procmail
[Top] [All Lists]

Re: Procmail newbie question -- How to detect a message with the "remove" word in the message text?

1998-03-31 00:31:53
|Mon 98-03-30 Chuan Wang <chuan(_at_)sift(_dot_)com> list.procmail
| detect any message with the word "remove" in the message
| 
| :0:
| * ^remove.*
| | $myscript

you matched header, to match both header and body, I'd write:

    :0
    * H ?? Subject:.*remove
    * B ?? \<remove\>
    { .. do it ... }    
    
    
jari

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