[Dovecot] cmusieve don't works for me...

Claudio Prono claudio.prono at atpss.net
Thu Jan 22 17:55:40 EET 2009


Ok, sorry to bother again, but i am going crazy to make work cmusieve
with dovecot. I intend to use it for the vacation system, but...seems
the system ignores the .dovecot.sieve file into the user dir... I am
doing something wrong, but i don't know what...

Here is my configs:

I use OpenSuse 11.0.

# 1.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.25.20-0.1-pae i686 openSUSE 11.0 (i586) ext3
log_path: /var/log/dovecot-err.log
info_log_path: /var/log/dovecot-inf.log
protocols: imap imaps pop3 pop3s managesieve
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
login_executable(managesieve): /usr/lib/dovecot/managesieve-login
first_valid_uid: 51
last_valid_uid: 51
first_valid_gid: 51
last_valid_gid: 51
mail_location: maildir:/var/mail/virtual/%d/%u
mail_debug: yes
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_executable(managesieve): /usr/lib/dovecot/managesieve
mail_plugins(default): quota imap_quota
mail_plugins(imap): quota imap_quota
mail_plugins(pop3): quota
mail_plugins(managesieve):
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve
imap_client_workarounds(default): outlook-idle
imap_client_workarounds(imap): outlook-idle
imap_client_workarounds(pop3):
imap_client_workarounds(managesieve):
pop3_uidl_format(default): %08Xu%08Xv
pop3_uidl_format(imap): %08Xu%08Xv
pop3_uidl_format(pop3): %Mf
pop3_uidl_format(managesieve): %08Xu%08Xv
sieve_storage(default):
sieve_storage(imap):
sieve_storage(pop3):
sieve_storage(managesieve): ~/sieve
sieve(default):
sieve(imap):
sieve(pop3):
sieve(managesieve): /var/mail/virtual/%d/%u/.dovecot.sieve
auth default:
  passdb:
    driver: sql
    args: /etc/dovecot/dovecot-mysql.conf
  userdb:
    driver: passwd
  userdb:
    driver: sql
    args: /etc/dovecot/dovecot-mysql.conf
  socket:
    type: listen
    master:
      path: /var/run/dovecot/auth-master
      mode: 384
plugin:
  quota: maildir
  quota: maildir:user quota
  quota_warning: storage=80%% /usr/bin/quota_warning.sh 80
  quota_warning2: storage=90%% /usr/bin/quota_warning.sh 90
  quota_warning3: storage=99%% /usr/bin/quota_warning.sh 90

I have also created a .dovecot.sieve file into the user dir like this:

ls -la .dovecot.sieve
-rw-r--r-- 1 postfix postfix 149 Jan 24 07:59 .dovecot.sieve

 cat .dovecot.sieve
require "vacation";
vacation :days 23 :addresses ["test at domain.pri"] "I'm away until October
19." ;

If i try to send a mail, in dovecot-inf.log i read this:

deliver(test at domain.pri): Jan 24 09:00:32 Info: Loading modules from
directory: /usr/lib/dovecot/modules/lda
deliver(test at domain.pri): Jan 24 09:00:32 Info: Module loaded:
/usr/lib/dovecot/modules/lda/lib10_quota_plugin.so
deliver(test at domain.pri): Jan 24 09:00:32 Info: Module loaded:
/usr/lib/dovecot/modules/lda/lib90_cmusieve_plugin.so
deliver(test at domain.pri): Jan 24 09:00:32 Info: auth input: test at domain.pri
deliver(test at domain.pri): Jan 24 09:00:32 Info: auth input:
maildir=test at domain.pri/
deliver(test at domain.pri): Jan 24 09:00:32 Info: auth input: uid=51
deliver(test at domain.pri): Jan 24 09:00:32 Info: auth input: gid=51
deliver(test at domain.pri): Jan 24 09:00:32 Info: auth input:
quota_rule=*:bytes=0
deliver(test at domain.pri): Jan 24 09:00:32 Info: Quota root: name=user
quota backend=maildir args=
deliver(test at domain.pri): Jan 24 09:00:32 Info: Quota rule: root=user
quota mailbox=* bytes=0 (0%) messages=0 (0%)
deliver(test at domain.pri): Jan 24 09:00:32 Info: Quota warning: bytes=0
(80%) messages=0 (0%) command=/usr/bin/quota_warning.sh 80
deliver(test at domain.pri): Jan 24 09:00:32 Info: Quota warning: bytes=0
(90%) messages=0 (0%) command=/usr/bin/quota_warning.sh 90
deliver(test at domain.pri): Jan 24 09:00:32 Info: Quota warning: bytes=0
(99%) messages=0 (0%) command=/usr/bin/quota_warning.sh 90
deliver(test at domain.pri): Jan 24 09:00:32 Info: maildir:
data=/var/mail/virtual/domain.pri/test at domain.pri
deliver(test at domain.pri): Jan 24 09:00:32 Info: maildir++:
root=/var/mail/virtual/domain.pri/test at domain.pri, index=, control=,
inbox=/var/mail/virtual/domain.pri/test at domain.pri
deliver(test at domain.pri): Jan 24 09:00:32 Info:
msgid=<49789612.7060203 at atpss.net>: saved mail to INBOX

As u can see, the cmusieve module is loaded, but if i go to the mail dir
of the user..

ls -la
total 80
drwx------ 5 postfix postfix  4096 Jan 24 09:01 .
drwx------ 3 postfix postfix  4096 Jan 14 23:07 ..
-rw-r--r-- 1 postfix postfix   149 Jan 24 07:59 .dovecot.sieve
drwx------ 2 postfix postfix  4096 Jan 23 06:59 cur
-rw------- 1 postfix postfix  1727 Jan 24 09:00 dovecot-uidlist
-rw------- 1 postfix postfix     8 Jan 14 23:07 dovecot-uidvalidity
-rw------- 1 postfix postfix     0 Jan 14 23:07 dovecot-uidvalidity.496e622e
-rw------- 1 postfix postfix   472 Jan 24 08:41 dovecot.index
-rw------- 1 postfix postfix 28672 Jan 24 09:00 dovecot.index.cache
-rw------- 1 postfix postfix  9544 Jan 24 09:00 dovecot.index.log
-rw------- 1 postfix postfix   242 Jan 24 09:00 maildirsize
drwx------ 2 postfix postfix  4096 Jan 24 09:00 new
drwx------ 2 postfix postfix  4096 Jan 24 09:00 tmp

not any compiled file of sieve was created, and naturally no response
was sended.

I have tryied some configurations, but with no results.

What can be my error?

Thank u for your support,

Claudio Prono.







-- 
------------
Claudio Prono
Systems Development @ PSS Srl, Divisione Implementazione Sistemi
Via San Bernardino, 17 - 10137 Torino (TO) - IT
Tel +39-011.32.72.100  Fax +39-011.32.46.497
PGP Fingerprint: 75C2 4049 E23D 2FBF A65F  40DB EA5C 11AC C2B0 3647
Disclaimer: http://atpss.net/disclaimer
------------ 



More information about the dovecot mailing list