Re: [exim] Exim Filter.

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Guillermo Llenas
Ημερομηνία:  
Προς: W B Hacker
Υ/ο: exim users
Αντικείμενο: Re: [exim] Exim Filter.
W B Hacker wrote:

>
>You have asked for 'contains' - and gotten what you asked for.
>
>If you want specifically-and-only an exact match, then ask for
>that - whether for a single user or a list of users.
>
>HTH,
>
>Bill
>
>
>

    Yes,  I did it. I replaced the "contains" for "matches" but the 
result is the same.
This is the exact filter:


if first_delivery
and (("$h_to:, $h_cc:" matches "user_a@???")
or ("$h_to:, $h_cc:" matches "user_b@???")
or ("$h_to:, $h_cc:" matches "user_c@???")
or ("$h_from:" matches "user_a@???")
or ("$h_from:" matches "user_b@???")
or ("$h_from:" matches "user_c@???"))
then
unseen deliver "storeusers@???"
endif

    After that, I sent an email to "xxxxuser_b@???" and:
        one copy for storeusers@???
        and one to xxxxuser_b@???.


    I don't understand why ...:(


    Thanks.    



--
Guillermo Llenas