maildrop (generic) filter question

1999-12-03 Thread Denis Voitenko
Hey, thanks. You helped a lot. Just a minor question I was gonna ask you. Here's the deal. There is a user 'postman' on the box that fetches mail from *@domain.com and sorts it by headers (with maildrop) and puts it in approbriate boxes like so .mailfilter if(^/(To|Cc): .*bob){ to "!bob" }

Re: maildrop (generic) filter question

1999-12-03 Thread Subba Rao
On 0, Denis Voitenko [EMAIL PROTECTED] wrote: Hey, thanks. You helped a lot. Just a minor question I was gonna ask you. Here's the deal. There is a user 'postman' on the box that fetches mail from *@domain.com and sorts it by headers (with maildrop) and puts it in approbriate boxes like so

Re: maildrop (generic) filter question

1999-12-03 Thread Subba Rao
On 0, Subba Rao [EMAIL PROTECTED] wrote: if(^/(To|Cc): .*(jack||bob).*/ ){ to "!jack bob" } The above will foward any mail received by either jack OR bob to both jack AND bob. I am assuming that's is the goal you are trying to acheive i.e. to send the mail to both of them, even if

Re: maildrop (generic) filter question

1999-12-03 Thread Sam
Subba Rao writes: On 0, Subba Rao [EMAIL PROTECTED] wrote: if(^/(To|Cc): .*(jack||bob).*/ ){ to "!jack bob" } The above will foward any mail received by either jack OR bob to both jack AND bob. I am assuming that's is the goal you are trying to acheive i.e. to send the

Re: maildrop (generic) filter question

1999-12-03 Thread Sam
Subba Rao writes: 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