procmail
[Top] [All Lists]

Detect Word II

1998-07-28 02:34:54
Hi, 

Thank you for all replies. I finally used the following regexp:
* ^Subject:(.*\<)?damocles\> to detect damocles in any place in the
phrase, beginining by tab, whitespace or any other words.
i.e. In olden times, damocles was ....
                      ^^^^^^^^
It works fine.

Another question is, I put in .procmailrc :
condition
action

to 'or' conditions I use:
condition | condition

to 'and' conditions I use:
condition
condition

but in the action line it doesn't work in the same way.

Can I 'and' and 'or' actions in the action line??

===============================================================
Windows 98, soon available for Nintendo 64 and Sony playstation
|-)

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