Re: [exim] Missing curly bracket

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Jeremy Harris
Data:  
Para: exim-users
Asunto: Re: [exim] Missing curly bracket
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 = recipient@???
>
> 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