Re: [exim] Exim Filter.

Top Page
Delete this message
Reply to this message
Author: W B Hacker
Date:  
To: exim users
Subject: Re: [exim] Exim Filter.
Guillermo Llenas wrote:

>
>     Greetings,

>
>     A little help :)

>
>     I have this

>
> # Exim filter
>
> # don't want to get multiple copies
> if first_delivery
>    and (("$h_to:, $h_cc:" contains "user@???")
>    or ("$h_from:" contains "user@???"))
> then
>    unseen deliver "store@???"
> endif

>
> and it works great but suddenly the account store@??? began to receive mails delivered to xuser@??? not only to user@??? . Is there a way to limit only user@??? ?
>     Thanks

>
>
>


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