[Dovecot] Segfault in libdovecot-sieve

andre at digirati.com.br andre at digirati.com.br
Thu Oct 21 17:13:28 EEST 2010


Em 21/10/2010, Stephan Bosch <stephan at rename-it.nl> escreveu:
>   Output from: dovecot -n

# 2.0.3 (02a9cf90ad02): /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-25-server x86_64 Ubuntu 10.04.1 LTS 
auth_master_user_separator = *
auth_mechanisms = plain login
auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@=
auth_worker_max_count = 10
disable_plaintext_auth = no
listen = lmtp1.f1.k8.com.br, lmtp1.prv.f1.k8.com.br
login_greeting = K8 IMAP/POP3 server
mail_debug = yes
mail_gid = dovemail
mail_plugins = $mail_plugins quota
mail_uid = dovemail
managesieve_sieve_capability = fileinto reject envelope vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include imapflags notify
mmap_disable = yes
passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
passdb {
  args = /etc/dovecot/dovecot-sql-master.conf.ext
  driver = sql
  master = yes
  pass = yes
}
plugin {
  autocreate = SPAM
  autosubscribe = SPAM
  quota = dict:User quota::file:/var/lib/imap/user/%2.256RHn/%n/dovecot-quota
  quota_rule = *:storage=1GB
  sieve = /var/lib/imap/sieve/%2.256RHn/%n/phpscript.script
  sieve_dir = /var/lib/imap/sieve/%2.256RHn/%n
  sieve_extensions = comparator-i;ascii-numeric copy envelope fileinto imapflags include notify regex reject relational subaddress vacation
  sieve_max_script_size = 512KB
  sieve_quota_max_scripts = 2
}
protocols = imap pop3 lmtp sieve
service auth-worker {
  user = $default_internal_user
}
service auth {
  process_limit = 1
  process_min_avail = 1
}
service imap-login {
  inet_listener imap {
    address = lmtp1.f1.k8.com.br, box5.f1.k8.com.br
    port = 143
  }
}
service imap {
  process_limit = 1024
  process_min_avail = 10
}
service lmtp {
  inet_listener {
    address = lmtp1.prv.f1.k8.com.br, box5.prv.f1.k8.com.br
    port = 2003
  }
  process_limit = 256
  process_min_avail = 10
}
service managesieve-login {
  inet_listener sieve {
    address = lmtp1.prv.f1.k8.com.br, box5.prv.f1.k8.com.br
    port = 4190
  }
  inet_listener sieve_deprecated {
    address = lmtp1.prv.f1.k8.com.br, box5.prv.f1.k8.com.br
    port = 2000
  }
}
service managesieve {
  process_limit = 20
  process_min_avail = 10
}
service pop3-login {
  inet_listener pop3 {
    address = lmtp1.f1.k8.com.br, box5.f1.k8.com.br
    port = 110
  }
}
service pop3 {
  process_limit = 256
  process_min_avail = 10
}
ssl = no
userdb {
  driver = prefetch
}
userdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
verbose_proctitle = yes
protocol imap {
  imap_idle_notify_interval = 120 s
  imap_max_line_length = 65536
  mail_max_userip_connections = 50
  mail_plugins = $mail_plugins quota imap_quota autocreate
}
protocol lmtp {
  mail_plugins = $mail_plugins sieve quota autocreate
}
protocol sieve {
  mail_plugins = $mail_plugins sieve
  managesieve_implementation_string = K8 ManageSieve
  managesieve_logout_format = bytes=%i/%o
  managesieve_max_line_length = 65536
  managesieve_sieve_capability = comparator-i;ascii-numeric copy envelope fileinto imapflags include notify regex reject relational subaddress vacation
}
protocol pop3 {
  mail_plugins = $mail_plugins quota autocreate
}

>   What version/revision of Pigeonhole you installed.

I'm using recompiled debian packages from http://xi.rename-it.nl/debian/ which already come with pigeonhole. The last changelog entry is from 2010-08-14.

> 2) Gdb backtrace:
> 
> http://www.dovecot.org/bugreport.html
> 
> Try to obtain core dumps when it is hard to reproduce.
> 
> 3) Examples of scripts and messages that cause the problem (assuming it 
> is reproducible).

I'll work on these. The server is hosting a few thousand accounts, so it's hard to identify specific scripts.
Thanks,Andre


More information about the dovecot mailing list