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
> user@??? and user@??? 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 dlugo@??? No spam, thanks.
Are you the police? . . . No ma'am, we're sysadmins.
--------------------------------------------------------