Re: [Exim] Restricting NS lookups

Top Page
Delete this message
Reply to this message
Author: Manuel Molina
Date:  
To: exim-users
Subject: Re: [Exim] Restricting NS lookups
Nico Erfurth wrote:
> 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)


    I'm sorry. I have to mention that we're running exim 3.34. You're
talking about an option of exim 4.x


    Thanks anyway!


--
    Greetings,


        Manuel Molina Cuberos / http://easy.to/deluxe
        IP Sistemas           / http://www.ipsistemas.com