[Dovecot] Sieve script does not run in dovecot 2.0 on squeeze

Victor Oñate victormanuelo at gmail.com
Thu May 3 00:54:25 EEST 2012


Hi,

I want to use Sieve filtering with my Dovecot 2.0.20  installation on Debian
squeeze.

ManageSieve works fine so far, I can edit and activate/deactive scripts (using
Thunderbird + Plugin) and they show up in the filesystem where I expect them to
be, see below.


# ls -la  /home/k2009999/
total 16
drwxr-xr-x 4 k2009999 mail         4096 Apr 30 10:46 .
drwxr-xr-x 4 root     root         4096 Apr 24 17:04 ..
drwx------ 7 k2009999 Domain Users 4096 Apr 30 10:56 Maildir
lrwxrwxrwx 1 k2009999 Domain Users   21 Apr 30 10:46
currently-active-script.sieve -> sieve/outoffice.sieve
drwxr-xr-x 3 k2009999 mail         4096 May  2 16:44 sieve

 ls -la  /home/k2009999/sieve/
total 16
drwxr-xr-x 3 k2009999 mail         4096 May  2 16:44 .
drwxr-xr-x 4 k2009999 mail         4096 Apr 30 10:46 ..
-rw-r--r-- 1 k2009999 mail           36 Apr 26 17:21 outoffice.sieve
drwxr-xr-x 2 k2009999 Domain Users 4096 May  2 16:44 tmp


#less outoffice.sieve
redirect "user at dominio.uk";

In dovecot.conf I have


mail_location = maildir:~/Maildir

plugin {
  quota = dirsize
  sieve=~/currently-active-script.sieve
  sieve_dir=~/sieve
  sieve_storage=~/sieve
}

protocols = imap sieve

protocol sieve {
  managesieve_logout_format = bytes ( in=%i : out=%o )
}

service managesieve-login {
   user = dovecot
   inet_listener sieve {
     port = 4190
   }
   process_limit = 2000
}


userdb {
  args = /etc/dovecot/dovecot-ldap.conf
  driver = ldap
}



In postfix I have


home_mailbox  = Maildir/


the problem is that the script does not run and so the mail is delivered
the initial recipient.

I use LDAP to delivery the mail.

any idea. Thank you.

Th.
Victor Oñate



More information about the dovecot mailing list