[Dovecot] dovecot-lda segfaults with some sieve scripts

interfaSys sàrl interfasys at gmail.com
Wed Sep 29 18:48:13 EEST 2010



On 29/09/2010 16:40, Stephan Bosch wrote:
>  Op 29-9-2010 17:35, Stephan Bosch schreef:
>>  Op 29-9-2010 17:33, interfaSys sàrl schreef:
>>> (gdb) bt full
>>> #0  0x0000000800e70140 in seff_flags_merge () from
>>
>> According to this, you have a require "imap4flags"; somewhere on top
>> of your Sieve script right?
> 

Nope, only fileinto, but the sieve_before script does.

***************
require "fileinto";

if true {
    redirect "ofutur at gmail.com";
}

if true {
    keep;
    stop;
}
***************


> Also, it's apparently running in multiscript context:
>> #21 0x0000000800e6a8f5 in sieve_multiscript_run () from
>> /usr/lib/dovecot/libdovecot-sieve.so.0
> 
Indeed

> Could you send me (not the list necessarily) full versions of all
> involved scripts (including those executed from
> sieve_before/sieve_after) and the output of dovecot -n?
> 

There is just one.

**********************
require ["fileinto","imap4flags"];

if allof(header :contains "X-DSPAM-Result" "Spam",
 not header :contains "X-DSPAM-Reclassified" "Innocent") {

 setflag "\\Seen";
 fileinto "INBOX/spam";
 stop;
}

keep;
**********************


I'll send doveconf -n separately

> Regards,
> 
> Stephan.
> 
> 

Cheers,

Olivier


More information about the dovecot mailing list