On Friday 11 May 2007, Linux Geeks wrote:
On 5/11/07, Anne Wilson <cannewilson(a)googlemail.com> wrote:
> Try
>
> :0
>
> * (^To|^Received):.+a@domain\.com
> ! a(a)domain.com
>
> Anne
Hi Anne,
Thanks... it's working :)
I try to simplify & generalize the rule again using...
============================
:0
* (^To|^Received):.+\/.+@domain\.com
! $MATCH
============================
and it got send also, but when I check my mail queue... it also send
to another domain's emails that enlisted also in "To", like
user1(a)domain2.com, user2(a)domain3.com. Since I only want it to send to
user(a)domain.com it is failing. What's wrong with the MATCH variable &
it's rule ?
Would you be prepared to send me the recipe, unchanged, off-list. Maybe if I
could look at the whole I'd be able to spot the problem.
Anne