[Dovecot] sieve files wont get parsed/compiled using cmusieve
Moritz Krinke
moritz at krinke.biz
Sat Nov 7 18:46:56 EET 2009
Hello,
im trying to get sieve up and running, but apparently my sieve
rules file doesnt get parsed / compiled and i cant see any errors in my
logfile which would point me to the problem.
im using ubuntu 9.10 (and
the dovecot packages from it), dovecot version is 1.1.11.
in the protocol
lda section of the config file i have added:
mail_plugins = cmusieve
mail_plugin_dir = /usr/lib/dovecot/modules/lda
and in the plugins
section:
sieve = /var/vmail/%d/%n/.dovecot.sieve
sieve_dir =
/var/vmail/%d/%n/sieve
root at mail:/# l
/usr/lib/dovecot/modules/lda/lib90_cmusieve_plugin.*
-rw-r--r-- 1 root root
247470 2009-10-15 06:38
/usr/lib/dovecot/modules/lda/lib90_cmusieve_plugin.a
-rw-r--r-- 1 root root
1038 2009-10-15 06:37
/usr/lib/dovecot/modules/lda/lib90_cmusieve_plugin.la
-rw-r--r-- 1 root
root 141384 2009-10-15 06:38
/usr/lib/dovecot/modules/lda/lib90_cmusieve_plugin.so
in
/var/vmail/%d/%n/ i have a dir "sieve", containing a sieve rule file and a
symlink to it:
ls -la .dovecot.sieve
lrwxrwxrwx 1 root root 21
2009-11-07 17:14 .dovecot.sieve -> sieve/roundcube.sieve
ls -la
sieve/
total 16
drwxrw-rw- 3 vmail mail 4096 2009-11-07 17:02 .
drwxrw----
20 vmail mail 4096 2009-11-07 17:20 ..
-rwxrw-rw- 1 vmail mail 359
2009-11-07 17:02 roundcube.sieve
as i understand the documentation there
should be a ".dovecot.sievec" file after the first mail arrived. But there
isnt. There also is nor err file .
Since the dovecot user is in the group
"mail", deliver should have rw-access to the sieve file/directory.
The
Upload of the sieve rule via dovecots managesieve did work as expected.
Would be great if anyone had an idea what/where to check next...? ;-)
Thanks,
Moritz
More information about the dovecot
mailing list