Re: [exim] Exim Filter.

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Guillermo Llenas
Datum:  
To: W B Hacker
CC: exim users
Betreff: 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