Procmail Regex

Linux Geeks indolinux.geeks at gmail.com
Fri May 11 16:22:44 UTC 2007


On 5/11/07, Anne Wilson <cannewilson at googlemail.com> wrote:
> Try
>
> :0
> * (^To|^Received):.+a at domain\.com
>  ! a at domain.com
>
> Anne
>

Hi Anne,

Thanks... it's working :)

I try to simplify & generalize the rule again using...

============================
:0
* (^To|^Received):.+\/.+ at 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 at domain2.com, user2 at domain3.com. Since I only want it to send to
user at domain.com it is failing. What's wrong with the MATCH variable &
it's rule ?

-- 
To Analyze Is To Know Batte Field, Differ from Battle Itself




More information about the fedora-list mailing list