search for: valuetrue

Displaying 2 results from an estimated 2 matches for "valuetrue".

Did you mean: val_true
2018 Sep 28
2
Bug in conditionals to assign values to variables?
...e conditionals to assign values to a varible. The syntax is: %{if;value1;operator;value2;value-if-true;value-if-false} where any of the fields can refer to another field using %v or %{value} syntax. The problem is that when I use a config like: user_attrs = ...,=relpath=%{if;%u;eq;somevalue;valuetrue;valuefalse} it works without any problem. But when I use: user_attrs = ...,=relpath=%{if;%{user};eq;somevalue;valuetrue;valuefalse} then it reports in logs: Sep 28 14:23:22 myotis60 dovecot: auth: Error: var_expand_long(if;%{user}) failed: if: requires four or five parameters, got 1 anywa...
2018 Oct 01
0
Bug in conditionals to assign values to variables?
> On 28 Sep 2018, at 15.25, Angel L. Mateo <amateo at um.es> wrote: > > user_attrs = ...,=relpath=%{if;%{user};eq;somevalue;valuetrue;valuefalse} > > then it reports in logs: > > Sep 28 14:23:22 myotis60 dovecot: auth: Error: var_expand_long(if;%{user}) failed: if: requires four or five parameters, got 1 > > anyway, the variable is correctly initialized, but I get the log. > > Is this a bug? > &...