Re: [exim] ACL/Router

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Jakob Hirsch
Fecha:  
A: exim
Asunto: Re: [exim] ACL/Router
Paulo Andre wrote:

> I have read in the manual that you can also put a filter in 'data'
> eg: data = #Exim filter\n\
>          if $h_to: contains {mysql query} then deliver 
> user3@??? endif

>
> Can a sql statement work in exim filter?


Don't know, but anyway, this is ugly and I would not use a filter for
something that can be done easily inside a router or with a ACL.

>     deny     message = user unknown
>              domains = acc.darkstar.nom.za
>               !sender_domains = +acc_domains   


Should work. But you want this only be done for special local parts, so
add a local_parts condition.