[exim] Re: Personalize MX

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Viktor Dukhovni via Exim-users
Datum:  
To: exim-users
Betreff: [exim] Re: Personalize MX
On Wed, Oct 23, 2024 at 12:22:50PM +0200, Leonardo Boselli via Exim-users wrote:

> To be more specific: for certain domains i have to give a "special
> treatment" so for example use only lowest MX, o using only IPv4 or IPv6
> connections.


It is unclear whether when you say "lowest MX" you mean to *dynamically*
determine the lowest (best) MX at connection time, or to in advance
manually examine the MX RRset, and statically configure one of the MX
hosts (perhaps the lowest/best) as the dedicated gateway for that
destination.

Jeremy indicated that dynamic filtering of the MX RRs might be tricky
(though if there's a user-configurable connection attempt count limit in
Exim that could be set to "1", then Exim will only try one MX host, and
it will be the lowest one for which DNS A/AAAA record lookups succeed).

Otherwise, indeed you'd need to sort and filter the MX RRset, and that's
noticeably more complicated.

But I rather expect that a static choice of "lowest MX" should be easy.

-- 
    Viktor.


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