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 = [EMAIL PROTECTED] <- Not run
headers_add = "X-Envelope-To: [EMAIL PROTECTED]"
virtual_aliases:
driver = redirect
errors_to = [EMAIL PROTECTED] <- Run OK!
headers_add = "X-Envelope-To: [EMAIL PROTECTED]"
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
--
## 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/