On 21/06/15 08:43, Konstantin wrote:
> test_redirect:
> driver = redirect
> domains = gmail.com
> local_parts = user
> headers_remove = ${if match{$h_Subject:}{\\[SUPPORT\\]}{}{Subject}}
> headers_add = ${if match{$h_Subject:}{\\[SUPPORT\\]}{}{Subject: [SUPPORT]
> $h_subject:}}
> data = [email protected]
>
> Redirect is working in exim-4.82-1.el6
> But in exim-4.84-4.el7 i have following error:
> R=test_redirect defer (-1): test_redirect router failed to expand "${if
> match{$h_Subject:}{\\[SUPPORT\\]}{}{Subject}}": missing } at end of string
The headers_remove option takes a colon-separated list;
your line has a colon in it. Either change the list-sep
or double the colon.
--
Cheers,
Jeremy
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/