[Dovecot] Cannot get cmusieve to work

Dani dani at tydnet.org
Tue Jun 12 15:42:55 EEST 2007


Hi, 

# I messed with the identities in my MUA and sent the email with a non 
registered address, sorry for the incinvenience ##

I'm not able to make cmusieve to work to filter emails. Below is my 
configuration. 

I'm using a .dovecot-sieve example from the wiki:

require "fileinto";
if exists "X-Spam-Flag" {
  fileinto ".Junk/";
}

I've been following (as acurately as I could) the documentation, tuts 
and examples. I found this in the dovecot list:
http://www.dovecot.org/list/dovecot/2007-March/020674.html

and I used the CONCAT method but anyway mails don't filter because of 
two "//".

*********LOGS********
Jun 12 14:12:52 yad deliver(dani at exampledomain.org): Loading modules 
from directory: /usr/lib/dovecot/modules/lda
Jun 12 14:12:52 yad deliver(dani at exampledomain.org): Module 
loaded: /usr/lib/dovecot/modules/lda/lib90_cmusieve_plugin.so
Jun 12 14:12:52 yad deliver(dani at exampledomain.org): auth input: 
dani at exampledomain.org
Jun 12 14:12:52 yad deliver(dani at exampledomain.org): auth input: 
maildir=dani at exampledomain.org/
Jun 12 14:12:52 yad deliver(dani at exampledomain.org): auth input: uid=110
Jun 12 14:12:52 yad deliver(dani at exampledomain.org): auth input: gid=8
Jun 12 14:12:52 yad deliver(dani at exampledomain.org): auth input: 
home=/home/vmail/exampledomain.org/dani at exampledomain.org/
Jun 12 14:12:52 yad deliver(dani at exampledomain.org): maildir: 
data=/home/vmail/exampledomain.org/dani at exampledomain.org
Jun 12 14:12:52 yad deliver(dani at exampledomain.org): maildir: 
root=/home/vmail/exampledomain.org/dani at exampledomain.org, 
index=/home/vmail/exampledomain.org/dani at exampledomain.org, control=, 
inbox=
Jun 12 14:12:52 yad deliver(dani at exampledomain.org): cmusieve: Using 
sieve 
****path: /home/vmail/exampledomain.org/dani at exampledomain.org//.dovecot.sieve***
Jun 12 14:12:52 yad deliver(dani at exampledomain.org): 
msgid=<20070612110825.F38F61054E8 at sc8-sf-spam1.sourceforge.net>: saved 
mail to INBOX

I've been looking into the problem and I must have forget something 
obvious, but I cannot make it work.

does anyone can point me to the problem?

thanks in advance.

Dani

CONFIGS
**************
 dovecot --version
1.0.0 (debian)
**************

********************
# /etc/dovecot/dovecot.conf
protocol lda {

postmaster_address = postmaster at exampledomain.org
mail_plugin_dir = /usr/lib/dovecot/modules/lda
sendmail_path = /usr/lib/sendmail
auth_socket_path = /var/run/dovecot/auth-master
mail_plugins = cmusieve
}

***************
dovecot-sql.conf
*************driver =  mysql

connect = dbname=postfix user=postfix password=qwe123dsazxc port=3306 
host=localhost
default_pass_scheme = CRYPT
password_query = SELECT password FROM mailbox WHERE username ='%u'

user_query = SELECT maildir, 110 AS uid, 8 AS gid,   
CONCAT('/home/vmail/%d/', @home := maildir) AS home FROM mailbox WHERE  
username = '%u


More information about the dovecot mailing list