Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

Problem with dovecot-sieve plugin

$
0
0
Greetings,

using dovecot-2.1.13 I finally got a simpe sieve script running now (filtering spam).

Now I want to apply the plugin 'pigeonhole-0.3-sieve-extprograms', as described in
Pigeonhole/Sieve/Plugins/Extprograms - Dovecot Wiki
I moved the the plugin into the appropriate directory /usr/lib64/dovecot/modules/sieve which contains the modules:
Quote:

lib90_sieve_extprograms_plugin.a
lib90_sieve_extprograms_plugin.la
lib90_sieve_extprograms_plugin.so
However executing the sieve script
Code:

require ["vnd.dovecot.pipe"];
pipe "/usr/local/bin/test.sh";

fails. The dovecot log shows:
Quote:

require command: unknown Sieve capability `vnd.dovecot.pipe'
dovecot logs show this error:
Quote:

2013-07-29T13:42:05.904289+02:00 mydomain dovecot: auth-worker(15937): mysql(localhost): Connected to database postfixdb
2013-07-29T13:42:05.911515+02:00 mydomain dovecot: lda(wg@score-soft.com): Error: sieve: before: line 8: require command: unknown Sieve capability `vnd.dovecot.pipe'
2013-07-29T13:42:05.911892+02:00 mydomain dovecot: lda(wg@score-soft.com): Error: sieve: before: line 9: unknown command 'pipe' (only reported once at first occurence)
2013-07-29T13:42:05.912243+02:00 mydomain dovecot: lda(wg@score-soft.com): Error: sieve: before: validation failed
2013-07-29T13:42:05.912569+02:00 mydomain dovecot: lda(wg@score-soft.com): Error: sieve: failed to open script /var/vmail/before.sieve
My dovecot.config:
Code:

# 2.1.13: /etc/dovecot/dovecot.conf
# OS: Linux 3.7.10-1.1-desktop x86_64 openSUSE 12.3 (x86_64)
auth_mechanisms = plain login
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_debug = yes
mail_home = /var/vmail/%n@%d
mail_location = maildir:~/mail
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
passdb {
  args = /etc/dovecot/dovecot-mysql.conf
  driver = sql
}
plugin {
  sieve = ~/.dovecot.sieve
  sieve_before = /var/vmail/before.sieve
  sieve_default = /var/vmail/default.sieve
  sieve_dir = ~/sieve
  sieve_global_dir = /var/vmail/sieve_global_dir
  sieve_plugins = sieve_extprograms
}
protocols = imap pop3
service auth {
  unix_listener /var/spool/postfix/private/auth_dovecot {
    group = postfix
    mode = 0660
    user = postfix
  }
  unix_listener auth-master {
    mode = 0600
    user = vmail
  }
  user = root
}
ssl_cert = </etc/postfix/sslcert/mailserver.crt
ssl_key = </etc/postfix/sslcert/mailserver.key
userdb {
  args = /etc/dovecot/dovecot-mysql.conf
  driver = sql
}
protocol pop3 {
  pop3_uidl_format = %08Xu%08Xv
}
protocol lda {
  auth_socket_path = /var/run/dovecot/auth-master
  mail_plugins = " sieve"
  postmaster_address = postmaster@mydomain.com
}
protocol lmtp {
  mail_plugins = " sieve"
}


What am I missing?

Any hints are very much appreciated!

Thanks for reading
Wolf

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>