Re: [exim] Routing email to different smarthosts accordin to…

Góra strony
Delete this message
Reply to this message
Autor: Viktor Dukhovni
Data:  
Dla: exim-users
Temat: Re: [exim] Routing email to different smarthosts accordin to a "percentage"


> On Dec 4, 2017, at 11:27 AM, Felix Schwarz via Exim-users <exim-users@???> wrote:
>
>> Smarthost0 receives all the emails and then routes, let say, the 10 percent of the emails via smarthost1 and the 90 percent via smarthost2
>>
>> There is a way to do this with exim?
>>
>> I would like to implement something like this as a way to warm up/or keep warm an IP
>
> There is (almost) always a way with exim:
> https://lists.exim.org/lurker/message/20170215.104521.34635a7a.pt-BR.html


My recollection is that Exim supports routing via SRV records, and
SRV records support "weights". If Exim implements SRV records per
the specification and honours the weights, you get to publish weight
10 for one server and weight 90 for another at the same precedence.

You would then just need to enable SRV-based routing.

-- 
    Viktor.