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
Andreas
Am 05.01.2016 um 15:31 schrieb A. Schulze:> 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_extensionsno opinions so far?
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_extensionsplugin { .. } 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).