[Dovecot] Panic: file sieve-cmu.c: line 262 (part_save): assertion failed: (buf->used - 1 == part->body_size.physical_size)

Maciej Polewczyński m.polewczynski at ogicom.pl
Wed Sep 10 16:42:54 EEST 2008


Hello

Dovecot v1.1.3
Sieve plugin v1.1.5
Debian Lenny
Virtual users in mysql db
dovecot -n at the end of email

I have problem with sieve body rules during delivery. When I test rule

if body :raw :contains [ ".exe" ]
{
        discard;
}

deliver die with panic:

Sep 10 15:14:37 mail deliver(user): Panic: file sieve-cmu.c: line 262 
(part_save): assertion failed: (buf->used - 1 == 
part->body_size.physical_size)
Sep 10 15:14:37 mail deliver(user): Raw backtrace: 
/usr/local/libexec/dovecot/deliver [0x80ca1a1] -> 
/usr/local/libexec/dovecot/deliver(i_syslog_fatal_handler+0x34) 
[0x80ca274] -> /usr/local/libexec/dovecot/deliver [0x80c9bb9] -> 
/usr/local/lib/dovecot/lda/lib90_cmusieve_plugin.so [0xb7e44bce] -> 
/usr/local/lib/dovecot/lda/lib90_cmusieve_plugin.so [0xb7e44fc4] -> 
/usr/local/lib/dovecot/lda/lib90_cmusieve_plugin.so [0xb7e4ef4a] -> 
/usr/local/lib/dovecot/lda/lib90_cmusieve_plugin.so(sieve_eval_bc+0x3a8) 
[0xb7e50558] -> 
/usr/local/lib/dovecot/lda/lib90_cmusieve_plugin.so(sieve_execute_bytecode+0xe2) 
[0xb7e56282] -> 
/usr/local/lib/dovecot/lda/lib90_cmusieve_plugin.so(cmu_sieve_run+0x326) 
[0xb7e46166] -> /usr/local/lib/dovecot/lda/lib90_cmusieve_plugin.so 
[0xb7e43bf6] -> /usr/local/libexec/dovecot/deliver(main+0x111a) 
[0x805dfda] -> /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) 
[0xb7e81455] -> /usr/local/libexec/dovecot/deliver [0x805bc11]

Is there a bug or I have done something wrong.

/usr/local/sbin/dovecot -n
# 1.1.3: /usr/local/etc/dovecot.conf
base_dir: /var/run/dovecot/
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap imaps pop3 pop3s
disable_plaintext_auth: no
login_dir: /var/run/dovecot//login
login_executable(default): /usr/local/libexec/dovecot/imap-login
login_executable(imap): /usr/local/libexec/dovecot/imap-login
login_executable(pop3): /usr/local/libexec/dovecot/pop3-login
first_valid_uid: 150
mail_privileged_group: mail
mail_location: maildir:%h/Maildir
mail_debug: yes
mail_executable(default): /usr/local/libexec/dovecot/imap
mail_executable(imap): /usr/local/libexec/dovecot/imap
mail_executable(pop3): /usr/local/libexec/dovecot/pop3
mail_plugins(default): quota imap_quota
mail_plugins(imap): quota imap_quota
mail_plugins(pop3): quota
mail_plugin_dir(default): /usr/local/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
imap_client_workarounds(default): delay-newmail
imap_client_workarounds(imap): delay-newmail
imap_client_workarounds(pop3):
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
auth default:
  mechanisms: plain login
  username_chars: 
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_ at +%
  debug: yes
  passdb:
    driver: sql
    args: /usr/local/etc/dovecot-sql.user.conf
  passdb:
    driver: sql
    args: /usr/local/etc/dovecot-sql.alias.conf
  userdb:
    driver: sql
    args: /usr/local/etc/dovecot-sql.user.conf
  userdb:
    driver: sql
    args: /usr/local/etc/dovecot-sql.alias.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

-- 
Pozdrowienia
  Maciej Polewczynski
  Registered Linux user #117725



More information about the dovecot mailing list