[Exim] Re: routing to first MX only

Góra strony
Delete this message
Reply to this message
Autor: edouard.boucher
Data:  
Dla: exim-users
Temat: [Exim] Re: routing to first MX only
hi,

>> I am trying to set up a router which act like dnslookup,
>> but discard all the MX record that are not primary, and fail if no MX record.
>>is the easiest way to set this a hack in src/routers/dnslookup.c ?


>I hope you don't want to apply this rule to all outgoing mail. Some
>people use to have reasons for having multiple (e.g. IPv6 only primary
>MX) or no (reduce number of DNS RRs in conformance with RFC821) MX.


I want to use this kind of routing only for a very specific case.
it is not my default router !

>Otherwise have a look at dnsdb lookups and the manualroute router.


i tryed but a dnsdb gives a list of all the mx,
and i have no idea of how to extract only the lowest.

thank for your help

edouard