Re: [exim] Redirect Router with filter

Góra strony
Delete this message
Reply to this message
Autor: Rainer Sigl
Data:  
Dla: Exim Mailing List
Temat: Re: [exim] Redirect Router with filter
ok, many thanks.
I think I have some trouble how redirecting works:
is it then ok if I say

listsfilter:
data=<pgsql get filter beginning with #Exim filter>
allow_filter
list:
data = ${lookup pgsql{select process_list('$local_part','$domain')}}

I don't really know how exim jumps from one redirect to another or the next

Regards
Rainer Sigl

Dean Brooks schrieb:

>On Thu, Nov 08, 2007 at 03:53:17PM +0100, Rainer Sigl wrote:
>
>
>
>>I have a redirect router of the form
>>
>>lists:
>>
>>                driver=redirect

>>
>>          data = ${lookup pgsql{select
>>process_list('$local_part','$domain')}}

>>
>>which works very well. The select-call provides a comma-separated list with
>>addresses.
>>
>>Now I want add a filter functionality and I don't know how to combine:
>>
>>
>
>You don't have to combine anything. Just add "allow_filter" to your
>router, and make sure the first line of your returned data contains the
>text:
>
> #Exim filter
>
>Check section 22.3 in the spec.txt.
>
>Note that the same router *cannot* return both a list of addresses and
>filter content. If that is the case, you'll need to use two different
>routers, one processed before the other.
>
>--
>Dean Brooks
>dean@???
>
>
>


-- 
-----------------
Rainer Sigl,                      | email: sigl@???
MPI f. extraterrestrische Physik, | phone: +49 (89) 30000-3557
Postfach 1312,                    | fax:   +49 (89) 30000-3569
D-85741 Garching, Germany         | web:   http://www.mpe.mpg.de/~sigl/