Lähettäjä: Jason Gottschalk Päiväys: Vastaanottaja: exim-users Aihe: [exim] Cannot sent mail on to remote MTA with router and
staticroutes
Hello Exim-users,
I want to process mail at my whm/cpanel server and then forward on to
the end user's in-house MTA.
In the past all I needed to do is add this to the top of the router
section:
# Process mail through Anti Spam and then send on to customer in-house
mail server
static_route:
driver = manualroute
transport = remote_smtp_smart
route_data = ${lookup{$domain}lsearch{/etc/staticroutes}}
and then add this to the transport section:
# Push to in-house MTAs
remote_smtp_smart:
driver = smtp
port = 25
delay_after_cutoff = false
hosts = ${lookup{$domain}lsearch{/etc/staticroutes}}
hosts_override
and everything works just fine.
It seems as though the virtual_aliases_nostar: section is causing "No
Such User Here" when it should not be looking for local users that are
in the /etc/staticroutes lists.
This setup is currently running on other servers of ours, but those
servers are a few month behind in updates. When I compare the
virtual_aliases_nostar sections, there are a couple of very minor
differences, which is why I suspect this section is the problem.
Any thoughts?
Thanks,
Jason