procmail
[Top] [All Lists]

Re: How to do OR - Conditions in recipes ?

1998-04-22 08:06:58

---Thomas Witt  wrote:

Hi.
This may be a very simple question, but anyway:

How do I set up a OR-Condition, f.E.
put all Mail into a special folder which contains
"surfing" in the subject or is from
"surfing(_at_)mailinglist(_dot_)org" f.e. ...?


I am new to procmail myself but I think that this
will do the trick:

:0:Subject: *surfing
/home/youruser/surfing.txt

:0:To:*surfing(_at_)mailinglist(_dot_)org
/home/youruser/surfing.txt

Putting two recipes will catch them.
Warning my syntax may be incorrect.
I still need to look at actual code when
writing my own recipes.

Also I am not sure if an address in the form:
TO: Surfing list <surfing(_at_)mailinglist(_dot_)org>  

will be processed correctly.

Jacques G.



_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

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