doveconf syntax question

Timo Sirainen tss at iki.fi
Mon Jan 18 15:56:06 UTC 2016



On 01/05/2016 04:31 PM, A. Schulze wrote:
> 
> Hello,
> 
> I have one sieve extension enabled:
> 
>   /etc/dovecot/conf.d/20-sieve.conf:
> 
>   plugin {
>     sieve_extensions = +vacation-seconds
>   }
> 
> now (months later) we want to enable an other extension.
> no big deal:
> 
>   /etc/dovecot/local.conf:
> 
>   plugin {
>     sieve_extensions = +editheaders
>     ...
>   }
> 
> This was wrong. We ASSUMED the plus would add the extension to the list.
> But at the end only +editheaders was activ.
> 
> What's the right way to /add/ sieve_extensions from different config files?
> our guess "sieve_extensions = $sieve_extensions +editheaders" do not work:
> 
> doveconf -a | grep sieve_extensions
> doveconf: Fatal: Error in configuration file /etc/dovecot/local.conf
> line 22: Unknown variable: $sieve_extensions
> doveconf: Error: managesieve-login: dump-capability process returned 89
> doveconf: Fatal: Error in configuration file /etc/dovecot/local.conf
> line 22: Unknown variable: $sieve_extensions

plugin { .. } settings can't be used as $variables unfortunately.
Although you could see if ${plugin/sieve_extensions} happens to work,
but I doubt it. I've some plans to change the way how plugin settings
work that would also make this work, but this probably won't be
happening soon (I doubt it'll make it to v2.3).



More information about the dovecot mailing list