[Dovecot] deliver segv on sieve redirect

Andy Howell AndyHowell at austin.rr.com
Wed Nov 26 11:46:37 EET 2008


Guillaume Hilt wrote:
> If you redirect the mail, how can it be stored into a folder after that ?


I thought that should work; I must admit I'm not well versed on sieve scripts. Even 
without the fileinto, it dies.

Thanks,

	Andy
> 
> Andy Howell a écrit :
>> Hello,
>>
>>     I've been trying out the bleeding edge, 1.2.alpha4. I'm having a 
>> problem with deliver and dovecot-1.2-sieve-0.1.1.
>>
>> I get a segv on this sieve script:
>>
>> require ["fileinto", "reject", "vacation", "envelope", "regex"];
>> if header :contains "subject" ["urgent"] {
>>  redirect "someone at somewhere.net";
>>  fileinto "test";
>> }
>>
>> Seems its happening on the "redirect". If I put the fileinto before 
>> the redirect, the fileinto works.
>>
>> I tried putting extra debug statements in 
>> plugins/lda-sieve/lda-sieve-plugin.c right after the sieve_execute in 
>> lda_sieve_run, but it never prints anything. I'm guessing thats the 
>> right place. Its quite possible there is something amiss in my setup.
>>
>> My logs show:
>>
>> Nov 26 02:51:12 marvin dovecot: deliver(andy at x.y.org): sieve: using 
>> sieve path: /var/mail/vhosts/x.y.org/andy/.dovecot.sieve
>> Nov 26 02:51:12 marvin dovecot: deliver(andy at x.y.org): sieve: opening 
>> script /var/mail/vhosts/x.y.org/andy/.dovecot.sieve
>> Nov 26 02:51:12 marvin dovecot: deliver(andy at x.y.org): sieve: 
>> executing compiled script /var/mail/vhosts/x.y.org/andy/.dovecot.sieve
>> Nov 26 02:51:12 marvin postfix/pipe[17027]: 0CA895CB3A: 
>> to=<andy at x.y.org>, relay=dovecot, delay=0.41, delays=0.33/0.01/0/0.07, 
>> dsn=5.3.0, status=bounced (Command died with signal 11: 
>> "/usr/libexec/dovecot/deliver")
>>
>> Thanks,
>>
>>     Andy
>>
> 



More information about the dovecot mailing list