Topic: [SOLVED] Not auto response! Per user Sieve problem!
==== Provide basic information to help troubleshoot ====
- iRedMail version: 0.6.1
- Linux/BSD distribution name and version: Debian Lenny
- Any related log? Log is helpful for troubleshooting.
====
Hi guys, I'm having problems with the use of per user sieve rules. Rules do not work. This is rule on roundcube:
==== Provide basic information to help troubleshoot ====
my dovecoat.conf:
webmail:~# dovecot -n
# 1.1.13: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-5-xen-amd64 x86_64 Debian 5.0.9
log_path: /var/log/dovecot.log
protocols: pop3 pop3s imap imaps managesieve
listen(default): *
listen(imap): *
listen(pop3): *
listen(managesieve): 127.0.0.1:2000
ssl_cert_file: /etc/ssl/certs/iRedMail_CA.pem
ssl_key_file: /etc/ssl/private/iRedMail.key
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
mail_uid: 1000
mail_gid: 1000
mail_location: maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/
mail_debug: yes
mail_executable(default): /usr/bin/trackLastLogin.sh imap
mail_executable(imap): /usr/bin/trackLastLogin.sh imap
mail_executable(pop3): /usr/bin/trackLastLogin.sh pop3
mail_executable(managesieve): /usr/lib/dovecot/managesieve
mail_plugins(default): quota imap_quota zlib
mail_plugins(imap): quota imap_quota zlib
mail_plugins(pop3): quota zlib
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
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
pop3_client_workarounds(managesieve):
sieve_storage(default):
sieve_storage(imap):
sieve_storage(pop3):
sieve_storage(managesieve): /var/vmail/sieve/%Ld/%Ln/
sieve(default):
sieve(imap):
sieve(pop3):
sieve(managesieve): /var/vmail/sieve/%Ld/%Ln/dovecot.sieve
auth default:
mechanisms: plain login
default_realm: fama.br
user: vmail
passdb:
driver: ldap
args: /etc/dovecot/dovecot-ldap.conf
userdb:
driver: ldap
args: /etc/dovecot/dovecot-ldap.conf
socket:
type: listen
client:
path: /var/spool/postfix/dovecot-auth
mode: 438
user: postfix
group: postfix
master:
path: /var/run/dovecot/auth-master
mode: 438
user: vmail
group: vmail
plugin:
quota_warning: storage=85%% /usr/bin/dovecot-quota-warning.sh 85
quota_warning2: storage=90%% /usr/bin/dovecot-quota-warning.sh 90
quota_warning3: storage=95%% /usr/bin/dovecot-quota-warning.sh 95
quota: maildir
quota_rule: *:storage=100M
expire: Trash 7 Trash/* 7 Junk 30
expire_dict: proxy::expire
auth_socket_path: /var/run/dovecot/auth-master
dict:
expire: db:/var/lib/dovecot/expire/expire.db
My sieve.log:
webmail:~# tail -f /var/log/sieve.log | grep -i giorgio
deliver(giorgio#fama.br): Nov 21 23:41:57 Info: Loading modules from directory: /usr/lib/dovecot/modules/lda
deliver(giorgio#fama.br): Nov 21 23:41:57 Info: Module loaded: /usr/lib/dovecot/modules/lda/lib10_quota_plugin.so
deliver(giorgio#fama.br): Nov 21 23:41:57 Info: Module loaded: /usr/lib/dovecot/modules/lda/lib90_cmusieve_plugin.so
deliver(giorgio#fama.br): Nov 21 23:41:57 Info: auth input: home=/var/vmail/vmail01
deliver(giorgio#fama.br): Nov 21 23:41:57 Info: auth input: mail=maildir:~/fama.brg/gi/gio/giorgio-2009.10.07.02.34.14//Maildir/
deliver(giorgio#fama.br): Nov 21 23:41:57 Info: auth input: quota_rule=*:bytes=1048576000
deliver(giorgio#fama.br): Nov 21 23:41:57 Info: Quota root: name= backend=maildir args=
deliver(giorgio#fama.br): Nov 21 23:41:57 Info: Quota rule: root= mailbox=* bytes=1048576000 messages=0
deliver(giorgio#fama.br): Nov 21 23:41:57 Info: Quota warning: bytes=891289600 (85%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 85
deliver(giorgio#fama.br): Nov 21 23:41:57 Info: Quota warning: bytes=943718400 (90%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 90
deliver(giorgio#fama.br): Nov 21 23:41:57 Info: Quota warning: bytes=996147200 (95%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 95
deliver(giorgio#fama.br): Nov 21 23:41:57 Info: maildir: data=~/fama.brg/gi/gio/giorgio-2009.10.07.02.34.14//Maildir/
deliver(giorgio#fama.br): Nov 21 23:41:57 Info: maildir++: root=/var/vmail/vmail01/fama.brg/gi/gio/giorgio-2009.10.07.02.34.14//Maildir, index=, control=, inbox=/var/vmail/vmail01/fama.brg/gi/gio/giorgio-2009.10.07.02.34.14//Maildir
deliver(giorgio#fama.br): Nov 21 23:41:57 Info: cmusieve: Using sieve path: /var/vmail/vmail01/.dovecot.sieve
deliver(giorgio#fama.br): Nov 21 23:41:57 Info: cmusieve: Executing script /var/vmail/vmail01/.dovecot.sievec
deliver(giorgio#fama.br): Nov 21 23:41:57 Info: msgid=<CAJAYy1ijJEL-zeUCMgjNz41Sw0vw5-Cb8mzqkafK9k6SX3WqUA@mail.gmail.com>: saved mail to INBOX
my vmail directory:
webmail:~# ls -al /var/vmail/sieve/fama.br/giorgio/
total 16
drwx------ 3 vmail vmail 4096 Nov 21 23:43 .
drwx------ 93 vmail vmail 4096 Nov 8 18:39 ..
lrwxrwxrwx 1 vmail vmail 15 Nov 21 23:43 dovecot.sieve -> roundcube.sieve
-rwx------ 1 vmail vmail 91 Nov 21 23:43 roundcube.sieve
drwx------ 2 vmail vmail 4096 Nov 21 23:43 tmp
webmail:~# cat /var/vmail/sieve/fama.br/giorgio/dovecot.sieve
require ["vacation"];
# rule:[teste]
if anyof (true)
{
vacation "!! Vacation TesT !!!";
}
Whats wrong ?!
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.