Topic: [SOLVED]sieve extprogram plugin is it really included in this release?
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: Ubuntu Server 14.04.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): NginX
- Manage mail accounts with iRedAdmin-Pro? Not yet
- Related log if you're reporting an issue:
dovecot-sieve logs:
Aug 19 11:29:32 lda(guillaume.XXXX@YYYY.com): Error: sieve: dovecot: line 1: require command: unknown Sieve capability `vnd.dovecot.execute'
Aug 19 11:29:32 lda(guillaume.XXXX@YYYY.com): Error: sieve: dovecot: line 9: unknown test 'execute' (only reported once at first occurence)
Aug 19 11:29:32 lda(guillaume.XXXX@YYYY.com): Error: sieve: dovecot: validation failed
Aug 19 11:29:32 lda(guillaume.XXXX@YYYY.com): Error: sieve: failed to compile script /var/vmail/sieve/dovecot.sieve
Aug 19 11:29:32 lda(guillaume.XXXX@YYYY.com): Info: msgid=<CAPvxbadtcYdhgp3frtbs52jMKjhnKt++BK_NLORkbpAAbNub7g@mail.gmail.com>: saved mail to INBOX
====
Hello!
I'm trying to use Sieve plugin "extprograms".
In the /etc/dovecot/conf.d/90-sieve.conf there is this comment just before the line "sieve_plugins" :
# The sieve_extprograms plugin is included in this release.
I suppose I doesn't need to manually compile the plugin to install it.
So, I've enabled it as described in docs ( http://wiki2.dovecot.org/Pigeonhole/Sie … xtprograms ) :
sieve_plugins = sieve_extprograms
sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.filter +vnd.dovecot.execute
sieve_pipe_bin_dir = /usr/lib/dovecot/sieve-pipe
sieve_filter_bin_dir = /usr/lib/dovecot/sieve-filter
sieve_execute_bin_dir = /usr/lib/dovecot/sieve-execute
Of course, I've created the folders /usr/lib/dovecot/sieve-* with my script (named "spamcha")
And I have updated the /var/vmail/sieve/dovecot.sieve
require ["fileinto", "vnd.dovecot.execute", "variables"];
# rule:[Move Spam to Junk Folder]
if header :is "X-Spam-Flag" "YES"
{
fileinto "Junk";
}if execute :output "spamcha_maildir" "spamcha" "${recipient}"
{
fileinto "${spamcha_maildir}";
}
After restarting the dovecot service, and trying to send new email, I have this error in sieve logs:
Aug 19 11:29:32 lda(guillaume.XXXX@YYYY.com): Error: sieve: dovecot: line 1: require command: unknown Sieve capability `vnd.dovecot.execute'
So, there is a solution to known if the extprogram plugin is really included in this release please ?
If it's really included, so may be someone have an idea of how to make it works ?
Thanks a lots
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.