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([EMAIL PROTECTED]): Loading modules
from directory: /usr/lib/dovecot/modules/lda
Jun 12 14:12:52 yad deliver([EMAIL PROTECTED]): Module
loaded: /usr/lib/dovecot/modules/lda/lib90_cmusieve_plugin.so
Jun 12 14:12:52 yad deliver([EMAIL PROTECTED]): auth input:
[EMAIL PROTECTED]
Jun 12 14:12:52 yad deliver([EMAIL PROTECTED]): auth input:
[EMAIL PROTECTED]/
Jun 12 14:12:52 yad deliver([EMAIL PROTECTED]): auth input: uid=110
Jun 12 14:12:52 yad deliver([EMAIL PROTECTED]): auth input: gid=8
Jun 12 14:12:52 yad deliver([EMAIL PROTECTED]): auth input:
home=/home/vmail/exampledomain.org/[EMAIL PROTECTED]/
Jun 12 14:12:52 yad deliver([EMAIL PROTECTED]): maildir:
data=/home/vmail/exampledomain.org/[EMAIL PROTECTED]
Jun 12 14:12:52 yad deliver([EMAIL PROTECTED]): maildir:
root=/home/vmail/exampledomain.org/[EMAIL PROTECTED],
index=/home/vmail/exampledomain.org/[EMAIL PROTECTED], control=,
inbox=
Jun 12 14:12:52 yad deliver([EMAIL PROTECTED]): cmusieve: Using
sieve
****path: /home/vmail/exampledomain.org/[EMAIL PROTECTED]//.dovecot.sieve***
Jun 12 14:12:52 yad deliver([EMAIL PROTECTED]):
msgid=<[EMAIL PROTECTED]>: 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 = [EMAIL PROTECTED]
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