On Fri, 12 May 2006, Stefan Klatt wrote:
>
> auto_remote_smtp:
>  driver = smtp
>  headers_rewrite = [EMAIL PROTECTED]
> [EMAIL PROTECTED] frs
>  return_path = [EMAIL PROTECTED]
>
> If i change the return_path string exim change "MAIL FROM". But i can do
> anything i want... "RCPT TO:" doesn't change...
> Exim use the return_path but not headers_rewrite, why? Where is my fault?

The headers_rewrite option only rewrites the message header, not the
envelope. If you want to alter the envelope recipient address in the
routers, use a redirect router, e.g.

local_to_global:
  driver = redirect
  domains = cac-netzwerk.local
  data = ${quote_local_part:[EMAIL PROTECTED]

Of course, you would not have this problem if you use globally-valid email
addresses on your local network.

Tony.
-- 
<[EMAIL PROTECTED]>   <[EMAIL PROTECTED]>   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}}

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to