Re: [exim] Router Query

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: carinus.carelse
CC: exim-users
New-Topics: [exim] debug query
Subject: Re: [exim] Router Query
On Mon, 4 Apr 2005 carinus.carelse@??? wrote:

> If the mail is not for the internal network it does a lookup and tries
> to deliver directly to the external host. I would like exim to forward
> this onto my firewall for delivery is there an easy way to do that.


Replace the standard dnslookup router with a manualroute router:

nonlocal:
driver = manualroute
domains = ! +local_domains
route_data = fire.wall.host.name
no_more
transport = remote_smtp

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}