Re: [exim] "${strlen" is not a known operator ...

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] "${strlen" is not a known operator ...
On 16/03/16 18:23, Ian Eiloart wrote:
> I have these lines in a router (they’re designed to mitigate the "reply-all" problem after someone spams the entire campus):
>
>     headers_remove = \
>         Bcc \
>         ${if  > { ${strlen:$header_To: } } {4096}  { : To }}\
>         ${if  > { ${strlen:$header_Cc: } } {4096} { : Cc }}



> "failed to expand headers_add or headers_remove: "${strlen" is not a known operator (or a } is missing in a variable reference)"


http://exim.org/exim-html-current/doc/html/spec_html/ch-generic_options_for_routers.html

"Warning 3: Because of the separate expansion of the list items, items
that contain a list separator must have it doubled. To avoid this,
change the list separator (6.20). "

--
Cheers,
Jeremy