Autor: Paul Havinden (RRes-Roth) Data: A: exim-users@exim.org Assumpte: Re: [exim] Smart host based on exim server name
>> 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.
>eg: > route_data=${lookup{$primary_hostname}lsearch{your-route-file}{$value}}
Thank you, this works well, exactly what I needed.
Paul
--
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.