Re: [exim] Outgoing INterface

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Mike Cardwell
Data:  
Para: Exim Users List
Asunto: Re: [exim] Outgoing INterface
Grant Peel wrote:

> I would like the set the outgoing interface address based on the domain that is sending it.
>
> Each domain on our servers has its own IP address.
>
> Simply using the MX address does not work because some of our domains use a mail filtering service, so the MX does not match the sending address.
>
> Question, how can I modify the line below to set the interface to that of the MX, if that fails, is the A record, if that fails, use the servers ip address.
>
> remote_smtp_local:
>         driver          = smtp
> #       interface       = ${lookup dnsdb{a=${lookup dnsdb{mxh=$sender_address_domain}}}}
>         helo_data       = $sender_address_domain
>         return_path_add = true


How to do this was described on this very mailing list to you about 3
weeks ago. See - http://www.gossamer-threads.com/lists/exim/users/85256

--
Mike Cardwell - IT Consultant and LAMP developer
Cardwell IT Ltd. (UK Reg'd Company #06920226) http://cardwellit.com/
Technical Blog: https://secure.grepular.com/blog/