Re: [exim] multiple routes to the same smarthost, discrimat…

Página Inicial
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
Para: exim-users
Assunto: Re: [exim] multiple routes to the same smarthost, discrimating based on size?
On 09/11/2018 18:33, Adam Stenseth via Exim-users wrote:
> I’m trying to set up exim to send messages for a particular subdomain (a specific mailacross two different links (one default route, one a static route on the system).    One of these links is very low-bandwidth, so I need to discrimate based on message size.     Anybody if exim has a facility to do this?


Your routing for the smrthost is probably done using a manualroute
router. The routing data for these is expanded, so has access to
all the Exim expansion variables.

See
http://exim.org/exim-html-current/doc/html/spec_html/ch-the_manualroute_router.html
and
http://exim.org/exim-html-current/doc/html/spec_html/ch-string_expansions.html

You probably need to involve $message_size.
--
Cheers,
Jeremy