Re: [exim] Problems forwarding outgoing mail

Pàgina inicial
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
A: Jorge Martin Torres
CC: exim-users
Assumpte: 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}}