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 -------------- next part -------------- # 2.2.9: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-042stab084.14 x86_64 Debian 7.4 auth_verbose = yes mail_location = maildir:~/Maildir:LAYOUT=fs managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave namespace { inbox = yes location = mailbox Drafts { auto = subscribe special_use = \Drafts } mailbox Junk { auto = subscribe special_use = \Junk } mailbox Sent { auto = subscribe special_use = \Sent } mailbox Trash { auto = subscribe special_use = \Trash } prefix = subscriptions = yes } passdb { args = scheme=SHA512-CRYPT username_format=%n /etc/dovecot/users driver = passwd-file } plugin { sieve = ~/.dovecot.sieve sieve_default = /var/lib/dovecot/sieve/default.sieve sieve_dir = ~/sieve sieve_global_dir = /var/lib/dovecot/sieve/ } protocols = " imap sieve" service auth { unix_listener /var/spool/postfix/private/auth { mode = 0666 } } service imap-login { inet_listener imaps { port = 0 } } ssl = required ssl_cert = </etc/ssl/certs/own/mail.pem ssl_key = </etc/ssl/certs/own/mail.key userdb { args = username_format=%n /etc/dovecot/users default_fields = home=/home/%n driver = passwd-file } protocol lmtp { mail_plugins = " sieve" } protocol lda { info_log_path = /var/log/dovecot-lda.log log_path = /var/log/dovecot-lda-errors.log mail_plugins = " sieve" } protocol imap { imap_client_workarounds = tb-extra-mailbox-sep tb-lsub-flags }
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 at 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
Maybe Matching Threads
- Sieve can't find Extprograms or Extdata
- Pipe to PHP script using Sieve Extprograms
- Potential bug report: Cannot use ":args" option via Pigeonhole Sieve pipe plugin
- imapsieve administrator scripts are not executed in the order they are defined
- sieve_extprograms - double linebreaks at filtering