Re: [exim] Missing curly bracket

Etusivu
Poista viesti
Vastaa
Lähettäjä: Jeremy Harris
Päiväys:  
Vastaanottaja: exim-users
Aihe: 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