Moritz Krinke
2009-Nov-07 16:46 UTC
[Dovecot] sieve files wont get parsed/compiled using cmusieve
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
Steffen Kaiser
2009-Nov-09 08:08 UTC
[Dovecot] sieve files wont get parsed/compiled using cmusieve
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, 7 Nov 2009, Moritz Krinke wrote:> Would be great if anyone had an idea what/where to check next...? ;-)Are you sure your MTA calls Dovecot deliver at all? See http://wiki.dovecot.org/Logging Unset log_path in lda { } section to have all messages of deliver in syslog and avoid permission problems. Then check the logs, e.g. if sieve is mentioned there at all, the home dir sieve has determined, etc.pp. Bye, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBSvfN8HWSIuGy1ktrAQLdyAgAnwrkcaqz1392gLl8uUx4kxqOLLNVFIn+ FO16zDKI/687JCpoSM4lLb5oOCFWevE7iHYEtoc5IV3zRnR+8V9woK2XHSWmNSDH 2FEy1fkEaEot7sWYBvXtYVyru0zgQI7d3ELWVbyR80B1CJlSiqgl+Y0/0w4yXJ00 B67+NXA8i03lHQeJlcYxKyzVB3Tc24uWAHzMoBV7Ux5634gYb/8LN0ay/nAoyfCA H0wN0NqRfdiniym3l802pAEx5b/MpjeuA8Vaw4Nl/4gMf3DMe6tb22Dr1LYYrQKa zHRHWRrOeiAUAHVWVw2dZihweKA+k6eh624fGyZgHzexzv7/x3ET+Q==cw9K -----END PGP SIGNATURE-----