[exim] Re: Routing based on *recipient* IP address

Página Inicial
Delete this message
Reply to this message
Autor: Gandalf Corvotempesta
Data:  
Para: Jeremy Harris
CC: exim-users
Assunto: [exim] Re: Routing based on *recipient* IP address
Il giorno gio 26 ott 2023 alle ore 11:48 Jeremy Harris via Exim-users
<exim-users@???> ha scritto:
> - a manualroute router, pointing to the required smarthost

Ok

> - placed in the routing chain early, to strip out from the
>    general "deliver to the MX" externals


Ok.

> - with a complicated "condition" to decide when it triggers

Ok

> - condition does a dnsdb lookup, for mx
>    and matches the required IP address


Ok....i'm here.
But dnsdb lookup returns a list of MXs , not a list (or just one from
the list) of IP addresses.
How can I force a dnsdb lookup to return resolved hosts to ips ?

>    - you get to pick what "matches" means.  Will there always be only one?
>      Do you need to check for one specific in a possible list returnd for
>      the MX lookup?  Do you have a list of possibles?


I don't have a list of MXs, I have a list of IPs and I have to check
if the returned MXs are poiting to the list of IPs

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/