On  0, Sam <[EMAIL PROTECTED]> wrote:
> > 
> > The OR operator ( || ) is for 2 expressions. The correct syntax should be
> > 
> > if(^/(To|Cc): .*(jack|bob).*/ ){
> >     to "!jack bob"
> > }
> 
> Congratulations.  Any time either jack or bob receives a message, both of
> them will now receive a copy of it.
> 
> That's not what the guy wants.
> 

Ok here it is. 

if(^/(To|Cc): .*(jack&bob).*/ ) {
    to "!jack bob"
}

if(^/(To): .*(jack|bob).*/ && ^/Cc: .*(jack|bob).*/ ) {
    to "!jack bob"
}

< followed by some previous rules he had in the original posting >

That will allow take care of his needs. 

Subba Rao
[EMAIL PROTECTED]
http://pws.prserv.net/truemax/

Reply via email to