Hi all : i used roundcube webmail and enable filter(managesieve) . i create some rules ,and the rule save in maildir . ok ..see my dovecot config: # 1.2.15: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-5-686 i686 Debian 6.0.5 ext3 log_path: /var/log/dovecot.log log_timestamp: %Y-%m-%d %H:%M:%S protocols: imap imaps pop3 pop3s managesieve listen(default): * listen(imap): * listen(pop3): * listen(managesieve): *:2000 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_privileged_group: mail mail_uid: vuser mail_gid: vgroup mail_location: maildir:/home/data/domains/%d/%n/Maildir mail_debug: yes mbox_write_locks: fcntl dotlock 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_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 managesieve_logout_format(default): bytes=%i/%o managesieve_logout_format(imap): bytes=%i/%o managesieve_logout_format(pop3): bytes=%i/%o managesieve_logout_format(managesieve): bytes(in=%i/out=%o) lda: postmaster_address: fy at 5dshu.com mail_plugins: sieve mail_plugin_dir: /usr/lib/dovecot/modules/lda auth_socket_path: /var/run/dovecot/auth-master auth default: mechanisms: plain login verbose: yes debug: yes passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf socket: type: listen client: path: /var/spool/postfix/private/auth mode: 384 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 384 user: vuser group: vgroup plugin: sieve_dir: /home/data/domains/%d/%n/Maildir/sieve sieve: /home/data/domains/%d/%n/Maildir/.dovecot.sieve I create some rules, it can save for Maildir/sieve ,but can't found .dovecot.sieve on Maildir.. i trying for google and baidu search engine,can't found any help .
Stephan Bosch
2012-Jul-23 09:21 UTC
[Dovecot] about .dovecot.sieve file can't found for directory
Op 7/23/2012 10:51 AM, F.Y schreef:> Hi all : > i used roundcube webmail and enable filter(managesieve) . i create > some rules ,and the rule save in maildir . ok ..see my dovecot config: > > mail_location: maildir:/home/data/domains/%d/%n/Maildir > > plugin: > sieve_dir: /home/data/domains/%d/%n/Maildir/sieve > sieve: /home/data/domains/%d/%n/Maildir/.dovecot.sieve > > I create some rules, it can save for Maildir/sieve ,but can't found > .dovecot.sieve on Maildir.. i trying for google and baidu search > engine,can't found any help .Never put sieve and sieve_dir inside your mail_location, especially when it is a Maildir. So, this should solve it for you: plugin: sieve_dir: /home/data/domains/%d/%n/sieve sieve: /home/data/domains/%d/%n/.dovecot.sieve Also make sure you have a sensible home directory set (e.g. /home/data/domains/%d/%n), since some aspects of Sieve use that for storing state information. Other options exist of course. Regards, Stephan.