Re: [exim] Smart host based on exim server name

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Jasen Betts
Data:  
Para: exim-users
Asunto: Re: [exim] Smart host based on exim server name
On 2014-01-10, Paul Havinden (RRes-Roth) <paul.havinden@???> wrote:
> Hi All,
>
> I have several exim mail hubs at different locations all accepting email for our domain and feeding that mail into our Exchange network.
> Is it possible in the exim configuration file to have the smarthost route_data conditional based on the server name that exim is running on, or perhaps on the local IP address of the server?


yes, route_data is expanded so you can use a ${lookup or ${extract
based on any of the variables in chapter 11.

http://www.exim.org/exim-html-current/doc/html/spec_html/ch11.html


eg:

route_data=${lookup{$primary_hostname}lsearch{your-route-file}{$value}}




> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and we believe
> but do not warrant that this e-mail and any attachments
> thereto do not contain any viruses. However, you are fully
> responsible for performing any virus scanning.
>



--
For a good time: install ntp