[Dovecot] Error: sieve_execute_bytecode(/var/sieve/global.sievec) failed
I'm just getting familiar with Dovecot. I get this error when I send mail to a mailbox that is over quota. I have no problem with the way quota is working and I have no problem with the sieve script detecting spam and delivering it to the Spam folder. Just trying to figure out why I get this error when quota is involved:
Error: sieve_execute_bytecode(/var/sieve/global.sievec) failed
See logs at: http://www200.pair.com/mecham/spam/sieve-error.txt
/var/sieve/global.sieve:
require "fileinto"; if header :contains "X-Spam-Flag" "YES" { fileinto "Spam"; }
# 1.1.8: /etc/dovecot/dovecot.conf # OS: Linux 2.6.26-1-686 i686 Debian 5.0 ext3 log_timestamp: %Y-%m-%d %H:%M:%S protocols: imap imaps pop3 pop3s 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 first_valid_uid: 6060 mail_privileged_group: mail mail_location: maildir:/var/vmail/%d/%n mail_debug: yes mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_plugins(default): autocreate quota imap_quota mail_plugins(imap): autocreate quota imap_quota mail_plugins(pop3): quota 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 auth default: mechanisms: plain login cram-md5 passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf passdb: driver: sql args: /etc/dovecot/dovecot-crammd5.conf userdb: driver: passwd userdb: driver: sql args: /etc/dovecot/dovecot-sql.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: 384 user: vmail plugin: quota: maildir:User quota autocreate: Spam autosubscribe: Spam
driver = mysql connect = host=127.0.0.1 dbname=postfix user=postfix password=pfix_password default_pass_scheme = MD5-CRYPT password_query = SELECT password FROM mailbox WHERE username = '%u' AND active = '1' user_query = SELECT CONCAT('/var/vmail/',maildir) AS home, 6060 AS uid, 6060 AS gid FROM mailbox WHERE username = '%u' AND active = '1'
Thanks much,
Gary V
On Jan 12, 2009, at 9:38 PM, Gary V wrote:
I'm just getting familiar with Dovecot. I get this error when I send mail to a mailbox that is over quota. I have no problem with the way quota is working and I have no problem with the sieve script detecting spam and delivering it to the Spam folder. Just trying to figure out why I get this error when quota is involved:
Error: sieve_execute_bytecode(/var/sieve/global.sievec) failed
The Sieve plugin's logging is kind of stupidly done. I don't think I'm
going to try to fix it though, v1.2 has a completely new Sieve
implementation with much saner logging.
Timo Sirainen schreef:
On Jan 12, 2009, at 9:38 PM, Gary V wrote:
I'm just getting familiar with Dovecot. I get this error when I send mail to a mailbox that is over quota. I have no problem with the way quota is working and I have no problem with the sieve script detecting spam and delivering it to the Spam folder. Just trying to figure out why I get this error when quota is involved:
Error: sieve_execute_bytecode(/var/sieve/global.sievec) failed
The Sieve plugin's logging is kind of stupidly done. I don't think I'm going to try to fix it though, v1.2 has a completely new Sieve implementation with much saner logging.
For clarity, Timo means that this obscure error is normal for cmusieve when storing/forwarding the message fails somehow. The actual error message is reported a few lines earlier in the logs, i.e. right before the equally descriptive 'Generic Error' message. This is your quota error in this case.
The new Sieve implementation significantly improves this.
Regards,
-- Stephan Bosch stephan@rename-it.nl
participants (3)
-
Gary V
-
Stephan Bosch
-
Timo Sirainen