Re: [exim] Router Query

Etusivu
Poista viesti
Vastaa
Lähettäjä: Tony Finch
Päiväys:  
Vastaanottaja: carinus.carelse
Kopio: exim-users
Uudet otsikot: [exim] debug query
Aihe: 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}}