Re: [Exim] Restricting NS lookups

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Nico Erfurth
Data:  
Para: Manuel Molina
CC: exim-users
Assunto: Re: [Exim] Restricting NS lookups
Manuel Molina wrote:
>
>     Hello to all:

>
>     We have a problem about MX name resolution in exim. We don't want our
> server to resolve the address in the following router:

>
> The router
>
> router_ldap:
> driver = lookuphost
> ignore_target_hosts = 127.0.0.0/8
> transport = smtp_backend
> condition = "${lookup ldap
> {ldap:///LDAP_BASE?LDAP_ATTRIBUTES?sub?LDAP_FILTER1}{true} fail}"
> headers_add = Mailhost: ${extract {mailhost}{${lookup ldap
> {ldap:///LDAP_BASE?LDAP_ATTRIBUTES?sub?LDAP_FILTER1}{$value}}}}
> domains = /opt/exim/etc/domains
>
>     We have two conditions that have been met, so we can't figure out how
> exim is resolving names in this stage of processing: (look at the log):


What you really want is a manualroute router, that acts before the
normal lookup-host router. (At least it looks like that)

ciao