Hi all,
I would like to set the outgoing interface to the IP address assigned to the
user's domian.
The problem I am encountering is that not all domains have thier MX set to an
IP on our server (because some domains are using a mail filtering server that
relays the message to our server after filtering).
Is there a way to rewrite the transport's 'interface' lines below, so it will
attempt to use the MX, then the A record, then a default IP (the servers main
IP) in that order?
remote_smtp_owm:
driver = smtp
helo_data = $sender_address_domain
# interface = ${lookup dnsdb{a=${lookup
dnsdb{mxh=$sender_address_domain}}}}
return_path_add = true
remote_smtp_local:
driver = smtp
# interface = ${lookup dnsdb{a=${lookup
dnsdb{mxh=$sender_address_domain}}}}
helo_data = $sender_address_domain
return_path_add = true
remote_smtp_alias:
driver = smtp
helo_data = $parent_domain
# interface = ${lookup dnsdb{a=${lookup dnsdb{mxh=$parent_domain}}}}
return_path_add = true
remote_smtp_bounce:
driver = smtp
helo_data = ${lookup
dnsdb{defer_never,ptr=$interface_address}{$value}{$primary_hostname}}
# interface = $interface_address
return_path_add = true
-Grant
--
## 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/