Re: [exim] Redirect and errors_to variables

Top Page
Delete this message
Reply to this message
Author: Gary Palmer
Date:  
To: Silmar A. Marca
CC: exim-users
Subject: Re: [exim] Redirect and errors_to variables
Silmar A. Marca wrote:

>I need to rewrite "MAIL FROM" in redirect driver to send mail not in my local
>domains. But, the "erros_to" not show variables, only fixed address... The
>header_add is ok!
>
>virtual_aliases:
>  driver                = redirect
>  errors_to             = ${local_part}@${domain}  <- Not run
>  headers_add           = "X-Envelope-To: ${local_part}@${domain}\n"

>
>virtual_aliases:
>  driver                = redirect
>  errors_to             = fix@???  <- Run OK!
>  headers_add           = "X-Envelope-To: ${local_part}@${domain}\n"

>
>I need to rewrite the sender address in "Mail from" to external out email
>because the SPF block these redirects... The SRS is not easy to use... I try to
>use $address_data and result is equal...
>
>


I am not sure why errors_to is not working for you, but have you tried
using the

return_path

setting on the transport? I have that working with expansion here.

Gary