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

Top Pagina
Delete this message
Reply to this message
Auteur: Jeremy Harris
Datum:  
Aan: exim-users
Onderwerp: [exim] Re: Routing based on *recipient* IP address
On 26/10/2023 14:28, Gandalf Corvotempesta via Exim-users wrote:
> But how can I use a single lookup (and not 2 like in the code above),
> merging route_data and condition ? From the condition can I set a
> variable to use with route_data ?
> I didn't find anything in this regard.


Look at the "set" generic router option.

Mind, textually identical lookups get their results cached within
the exim process anyway, by default.
--
Cheers,
Jeremy


--
## 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/