Re: [exim] Multiple relay hosts

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jeremy Harris
Date:  
À: exim-users
Sujet: 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