Re: [exim] Problems forwarding outgoing mail

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: Jorge Martin Torres
CC: exim-users
Subject: Re: [exim] Problems forwarding outgoing mail
On Mon, 21 Feb 2005, Jorge Martin Torres wrote:

> What I need to do sounds simple: forward ALL mail that originates from my
> server to an external mailbox.


Delete all your routers except for the dnslookup router. Change it so that
it only handles email to the external mailbox:

dnslookup:
driver = dnslookup
domains = +external_mailbox_domain
local_parts = +external_mailbox_local_part
transport = remote_smtp
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
no_more

Add another router that redirects everything else.

redirect:
driver = redirect
data = external@mailbox

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}}