Re: [exim] Multiple relay hosts

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] Multiple relay hosts
On 13/03/15 21:14, Brainslug wrote:
> I need to relay email from my local mail server to either "relayhost1"
> or "relayhost2", depending on the size of the email. Any idea how I
> could accomplish this?


Use redirect router(s) to send mail to the relay hosts.
Make decisions on which mails to affect based on size.

Read the docs on routers:

http://exim.org/exim-html-current/doc/html/spec_html/ch-generic_options_for_routers.html

and string expansions:

http://exim.org/exim-html-current/doc/html/spec_html/ch-string_expansions.html#SECTexpvar

--
Cheers,
Jeremy