Re: [Dovecot] sieve doesn't work with 1.1.1
Benjamin Andreas schreef:
Mail debug is now Enable but and don't see any errors
the .dovecot.sieve file in my home will be ignored
Dovecot v1.1.1 starting up deliver(andreas): Jul 02 10:53:49 Info: maildir: data=/var/spool/imap/andreas deliver(andreas): Jul 02 10:53:49 Info: maildir++: root=/var/spool/imap/andreas, index=, control=, inbox=/var/spool/imap/andreas deliver(andreas): Jul 02 10:53:50 Info: msgid=b186cc8f0807020156l42d4ea75v150ba75bf69f16cb@mail.gmail.com: saved mail to INBOX
Strange, it looks as though mail_debug is not doing anything or that the cmusieve plugin is not loaded. Did you add it to mail_plugins under protocol lda {} ? This is what my test server logs:
Jul 2 11:48:10 xi deliver(stephan): Loading modules from directory: /usr/lib/dovecot/modules/lda Jul 2 11:48:10 xi deliver(stephan): Module loaded: /usr/lib/dovecot/modules/lda/lib90_cmusieve_plugin.so Jul 2 11:48:10 xi deliver(stephan): maildir: root exists (/home/stephan/Maildir) Jul 2 11:48:10 xi deliver(stephan): maildir++: root=/home/stephan/Maildir, index=, control=, inbox=/home/stephan/Maildir Jul 2 11:48:10 xi deliver(stephan): cmusieve: Using sieve path: /home/stephan/.dovecot.sieve Jul 2 11:48:10 xi deliver(stephan): cmusieve: Executing script /home/stephan/.dovecot.sievec Jul 2 11:48:11 xi deliver(stephan): msgid=486B4ECD.6050707@utwente.nl: saved mail to INBOX
Regards,
Stephan
Yeah I'm a stupid idiot :-)
I'll be damned!
I have not set cmusieve_plugin in the config file! Now it works
But i have the next problem
If i change the sieve path from sieve=~/.dovecot.sieve to sieve = /var/spool/sieve-scripts/%u/dovecot.sieve
Dovecot search the .dovecot.sieve file continue in my home? and not in the new path
# 1.1.1: /etc/dovecot/dovecot.conf log_path: /var/log/dovecot.log info_log_path: /var/log/dovecot.info protocols: imap imaps managesieve login_dir: /var/run/dovecot/login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(managesieve): /usr/lib/dovecot/managesieve-login mail_location: maildir:/var/spool/imap/%u mail_debug: yes mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(managesieve): /usr/lib/dovecot/managesieve mail_plugin_dir(default): /usr/lib/dovecot/modules/imap mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve sieve_storage(default): sieve_storage(imap): sieve_storage(managesieve): /var/spool/sieve-scripts/%u sieve(default): sieve(imap): sieve(managesieve): /var/spool/sieve-scripts/%u/dovecot.sieve auth default: passdb: driver: pam userdb: driver: passwd socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix
Any Idea?
2008/7/2 Stephan Bosch stephan@rename-it.nl:
Benjamin Andreas schreef:
Mail debug is now Enable but and don't see any errors
the .dovecot.sieve file in my home will be ignored
Dovecot v1.1.1 starting up deliver(andreas): Jul 02 10:53:49 Info: maildir: data=/var/spool/imap/andreas deliver(andreas): Jul 02 10:53:49 Info: maildir++: root=/var/spool/imap/andreas, index=, control=, inbox=/var/spool/imap/andreas deliver(andreas): Jul 02 10:53:50 Info: msgid=b186cc8f0807020156l42d4ea75v150ba75bf69f16cb@mail.gmail.com: saved mail to INBOX
Strange, it looks as though mail_debug is not doing anything or that the cmusieve plugin is not loaded. Did you add it to mail_plugins under protocol lda {} ? This is what my test server logs:
Jul 2 11:48:10 xi deliver(stephan): Loading modules from directory: /usr/lib/dovecot/modules/lda Jul 2 11:48:10 xi deliver(stephan): Module loaded: /usr/lib/dovecot/modules/lda/lib90_cmusieve_plugin.so Jul 2 11:48:10 xi deliver(stephan): maildir: root exists (/home/stephan/Maildir) Jul 2 11:48:10 xi deliver(stephan): maildir++: root=/home/stephan/Maildir, index=, control=, inbox=/home/stephan/Maildir Jul 2 11:48:10 xi deliver(stephan): cmusieve: Using sieve path: /home/stephan/.dovecot.sieve Jul 2 11:48:10 xi deliver(stephan): cmusieve: Executing script /home/stephan/.dovecot.sievec Jul 2 11:48:11 xi deliver(stephan): msgid=486B4ECD.6050707@utwente.nl: saved mail to INBOX
Regards,
Stephan
participants (2)
-
Benjamin Andreas
-
Stephan Bosch