[Dovecot] Sieve segfault on sieve-before scripts

Max Ivanov ivanov.maxim at gmail.com
Tue Sep 1 17:53:25 EEST 2009


I use dovecot 1.2.4 release with sieve 0.1.12

If I setup sieve-before script and latest script contains "keep" at
the very end and no personal scripts found then segfault take place.

here is part of exim log:
2009-09-01 18:43:06 1MiUZA-0005V9-IB ** ivanov_maxim at domain.my
<admin at domain.my> R=localuser T=local_delivery: Child process of
local_delivery transport (running command
"/usr/libexec/dovecot/deliver -d $local_part") was terminated by
signal 11 (Segmentation fault)


Once I remove "keep" from end of latest sieve-before script,
everything goes fine.

Here is latest global sieve script:

# cat /etc/dovecot1.2/sieve-before.d/020-SENT-STORE.sieve
require ["imap4flags"];

if header :contains "X-Set-Seen" ["Yes", "YES", "1"] {
        setflag "\\Seen";
}
#keep;


More information about the dovecot mailing list