Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

Outgoing INterface

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


gpeel at thenetnow

Oct 28, 2009, 7:45 AM

Post #1 of 2 (111 views)
Permalink
Outgoing INterface

Hi all,

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


--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


exim-users at lists

Oct 28, 2009, 8:48 AM

Post #2 of 2 (92 views)
Permalink
Re: Outgoing INterface [In reply to]

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/

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.