Bug in conditionals to assign values to variables?

Timo Sirainen tss at iki.fi
Mon Oct 1 10:55:39 EEST 2018


> 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?
> 
> PS: I'm running dovecot 2.2.33

I can't seem to be able to reproduce this, not even with v2.2.33. It simply works without logging any errors.



More information about the dovecot mailing list