On Sat, 22 Oct 2011, Colin wrote:

Say I have the following in /etc/staticroutes

domain1.com: 1.1.1.1
domain2.com: 2.2.2.2
domain3.com: 1.1.1.1

Delivery to each domain individually is fine. A message addressed to [email protected] and [email protected] is fine.

A message which contains any user at domain1.com and domain3.com will fail as both domains point to the same IP address. Can anyone see an obvious reason why these would fail?

Thanks.

#Router

static_route:
driver = manualroute
transport = remote_smtp_smart
route_data = ${lookup{$domain}lsearch{/etc/staticroutes}}



all seems good so far...

#Transport

remote_smtp_smart:
 driver = smtp
 port = 25
 delay_after_cutoff = false
 hosts = ${lookup{$domain}lsearch{/etc/staticroutes}}
 hosts_override


Do you need hosts & hosts_override there?   What happens if you
remove them?


--
--------------------------------------------------------
 Dave Lugo     [email protected]      No spam, thanks.
 Are you the police?  . . .  No ma'am, we're sysadmins.
--------------------------------------------------------

--
## List details at https://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/

Reply via email to