procmail
[Top] [All Lists]

Re: How to pick up a string?

1999-08-31 14:34:31
On 31 August 1999, Dominic Mitchell <dominic(_at_)cedep(_dot_)net> wrote:

I have a problem to figure how to pick up a string.  I have
someone who set "Organisation: La Masse critique" .  I would like
to be able to Identify his mail.  I tried

:0:
* ^Organisation:.*'La Masse critique' 
| $FORMAIL -A"X-Sorted: critique" >> $CRITIQUE


But obviously it does not work.  How can it be done?

        :0:
        * ^Organisation:[       ]*La\ Masse\ critique
        |formail -A"X-Sorted: critique" >>$CRITIQUE

    Regards,

    Liviu Daia

-- 
Dr. Liviu Daia               e-mail:   Liviu(_dot_)Daia(_at_)imar(_dot_)ro
Institute of Mathematics     web page: http://www.imar.ro/~daia
of the Romanian Academy      PGP key:  http://www.imar.ro/~daia/daia.asc

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