[Dovecot] Pigeonhole Sieve Extprograms Plugin
Hi,
I upgraded to Dovecot 2.2.9 from Debian's wheezy-backports today (which should contain the "sieve_extprograms" plugin and thus also the vnd.dovecot.{pipe,filter,execute} capabilities.
However when I add require "vnd.dovecot.filter"; to my sieve script via managesieve, the server reports error: require command: unknown Sieve capability: 'vnd.dovecot.filter'
What am I missing and what should I do to get pipe/filter/execute to work?
postconf -n attached.
Nils
Hi,
I think you are missing something along these lines:
plugin { sieve_plugins = sieve_extprograms sieve_global_extensions = +vnd.dovecot.filter sieve_extensions = +vnd.dovecot.filter }
Also, I'm not sure what wheezy-backports package does, but the same version of Dovecot for Jessie looks for sieve plugins libraries under /usr/lib/dovecot/modules/sieve directory, whereas the dovecot-sieve package puts them into /usr/lib/dovecot/modules, causing Dovecot to throw errors (as it's unable to find them.)
Made it work by creating a symlink /usr/lib/dovecot/modules/sieve pointing to ../modules. I suspect this can cause breakage during dovecot-sieve update (if they ever get to put those files to the right place), so better watch that.
J.
dovecot@voidptr.de wrote:
Hi,
I upgraded to Dovecot 2.2.9 from Debian's wheezy-backports today (which should contain the "sieve_extprograms" plugin and thus also the vnd.dovecot.{pipe,filter,execute} capabilities.
However when I add require "vnd.dovecot.filter"; to my sieve script via managesieve, the server reports error: require command: unknown Sieve capability: 'vnd.dovecot.filter'
What am I missing and what should I do to get pipe/filter/execute to work?
postconf -n attached.
Nils
On 06/03/14 00:14, Jiří Bourek wrote:
Hi,
I think you are missing something along these lines:
plugin { sieve_plugins = sieve_extprograms sieve_global_extensions = +vnd.dovecot.filter sieve_extensions = +vnd.dovecot.filter }
Also, I'm not sure what wheezy-backports package does, but the same version of Dovecot for Jessie looks for sieve plugins libraries under /usr/lib/dovecot/modules/sieve directory, whereas the dovecot-sieve package puts them into /usr/lib/dovecot/modules, causing Dovecot to throw errors (as it's unable to find them.)
Made it work by creating a symlink /usr/lib/dovecot/modules/sieve pointing to ../modules. I suspect this can cause breakage during dovecot-sieve update (if they ever get to put those files to the right place), so better watch that.
J.
Hi,
You're right, after adding the plugin to sieve_plugins and symlinking its .so file in the right place, it works fine. Thank you for the hint.
The mismatch between the configured and actual plugin directories seems like a bug with the Debian package to me...
Nils
participants (2)
-
dovecot@voidptr.de
-
Jiří Bourek