On 12/16/2009 10:30 PM Asai wrote:
OK, so I got the sieve plugin built, but how do I test whether it's working? Is there debug output anywhere I can check?
Please stop top posting.
Enable mail_debug, at least in the protocol lda {…} section, and watch your log file.
Regards, Pascal
Thank you, Pascal. I have enabled this, but I'm still not seeing anything related to sieve in the logs. Could someone review my config and see if there's something wrong here? By the way, I'm using maildirs with virtual users and MySQL authentication.
# 1.2.8: /etc/dovecot.conf # OS: Linux 2.6.18-92.1.6.el5.centos.plusxen x86_64 CentOS release 5 (Final) ext3 ssl_cert_file: /etc/ssl/triata.globalchangemultimedia.net/mailserver/smtpd.pem ssl_key_file: /etc/ssl/triata.globalchangemultimedia.net/mailserver/smtpd.pem login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login mail_location: maildir:/vmail/%d/%n mail_executable(default): /usr/libexec/dovecot/imap mail_executable(imap): /usr/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/lib64/dovecot/imap mail_plugin_dir(imap): /usr/lib64/dovecot/imap mail_plugin_dir(pop3): /usr/lib64/dovecot/pop3 namespace: type: private separator: / inbox: yes list: yes subscriptions: yes namespace: type: public separator: / prefix: public/ location: maildir:/vmail/public:INDEX=/vmail/%u/public list: yes lda: mail_debug: yes postmaster_address: postmaster@globalchangemultimedia.net hostname: triata.globalchangemultimedia.net mail_plugins: sieve mail_plugin_dir: /usr/lib64/dovecot/lda auth default: mechanisms: plain login passdb: driver: sql args: /etc/dovecot-mysql.conf userdb: driver: passwd userdb: driver: sql args: /etc/dovecot-mysql.conf socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 432 user: vmail group: vmail plugin: sieve: ~/.dovecot.sieve sieve_dir: ~/sieve
-- --asai