[Dovecot] Libdovecot-sieve segfaults

Nikita Koshikov koshikov at gmail.com
Tue Aug 14 09:49:38 EEST 2012


Hello Stephan, 

Preface - one of my users went to vacation and changed his sieve script to run autoreply vacation message, after that - I have noticed some annoying errors in system log, like:

dovecot-lda[2400]: segfault at 3eb3333f ip b7446c7a sp bfaab050 error 4 in libdovecot-sieve.so.0.0.0[b7429000+5b000]

Dovecot-error log is empty, but in exim log(exim runs dovecot-lda) I got:

2012-08-13 09:35:27 1T0oFK-0000aW-6j ** sr at domain.com (sr at domain.com, root at domain.com) <postmaster at domain.com > F=<59942270813 at mymail.in.ua> R=ldap_accept T=local_delivery: Child process of local_delivery transport (running command "/usr/libexec/dovecot/dovecot-lda -e -d $local_part@$domain") was terminated by signal 11 (Segmentation fault)

sr at domain.com - is the user, who created such sieve-script, which cause segfaults.
I have tried run the same message over this script from sieve-test utility - but result is success.

Can you please, take a look to this sieve script and check is it ok, I'll send it to you privately since it contains user's data. Also I'll attach message.eml which triggers segfault.

Dovecot version - 2.0.21, Sieve version - 0.2.6. 
Relevant to sieve dovecot config section:
plugin {
  sieve = ~/.dovecot.sieve
  sieve_after = /etc/dovecot/sieve/default-after.sieve
  sieve_dir = ~/sieve
  sieve_extensions = +notify +spamtest
  sieve_spamtest_max_value = 10
  sieve_spamtest_status_header = X-Spam-Scan-Score
  sieve_spamtest_status_type = score
}

Hope you'll help.


More information about the dovecot mailing list