Szerző: Paulo Andre Dátum: Címzett: Sander Smeenk CC: exim-users Tárgy: Re: [exim] exim acl checks
Sander Smeenk wrote: > Quoting Paulo Andre (pandre@???):
>
>
>>>eg. +270113200000@??? to be delivered to
>>>user@???
>>
>>I have set up a system wide filter
>>if $h_to: contains "+27"
>> then
>> deliver user@???
>>endif
>>Now this would be valid for all domains, what would be the better way to
>>limit this to one domain?
>
>
> Even though there are 2 good solutions posted already, i'd like to add
> that Exim filters are PCRE (Perl Compatible REgexp) capable so:
>
> if $h_To: matches "^+27\d+@test\.darkstar\.nom\.za"
>
> would probably work too ;)
>
A quick question: I have a filter solution and a router solution, which
is the better one to use and why?