Re: [exim] ACL/Router

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jakob Hirsch
Date:  
À: exim
Sujet: 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.