Re: "Scoring & Action" help
Tarkus <[email protected]> Sun, 17 Nov 2002 13:51:06 -0800
| Newsgroups | gmane.mail.40tude-dialog |
|---|---|
| Organization | Brain Salad Surgery |
| Message-ID | <[email protected]> |
On Sun, 17 Nov 2002 16:32:05 -0500, Peter Kerekes wrote: > I have the following in Rules: > > [email.*] > !move(Tony) From: "@xxx.ca", > !move(Tony) From: "@aaa.ca" > !move(Tony) From: "[email protected]" > !move(Tony) Header (To:) "xxx.ca" > !move(Tony) Header (To:) "aaa.ca" > !move(Tony) Header (To:) "[email protected]" > > It works, but it is awkward, and lenghty. > > Is there a way to combine these lines? I tried <From: "@xxx.ca","@aaa.ca" > > and <From: Header (To:) "[email protected]"> (without <>) but neither worked. > > Would appreciate your suggestions. This should work: [email.*] !move(Tony) From: "@xxx.ca" "@aaa.ca" "[email protected]" !move(Tony) Header (To:) "@xxx.ca" "@aaa.ca" "[email protected]" Or you could use regular expressions, like this: [email.*] !move(Tony) Header ({^(From|To)}) {(joe\@bbb|\@(xxx|aaa))\.ca} You may have to play with that a bit, but I think that's right. -- Why does an alarm clock "go off" when it begins ringing? ------------------------ Yahoo! Groups Sponsor ---------------------~--> Get 128 Bit SSL Encryption! http://us.click.yahoo.com/JjlUgA/vN2EAA/xGHJAA/dkFolB/TM ---------------------------------------------------------------------~-> Important Addresses: Post message: [email protected] Subscribe: [email protected] Unsubscribe: [email protected] List owner: [email protected] Group page: http://groups.yahoo.com/group/40tude-Dialog Dialog home page: http://www.40tude.com/dialog/index.htm Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/