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
If you redirect the mail, how can it be stored into a folder after that ? 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 >
Andy Howell wrote:> 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.Fixed: http://hg.rename-it.nl/dovecot-libsieve/rev/28e3144b79d1 This bug probably affects other actions that only send messages. Not sure why it worked before. This a bit of a show-stopper bug and warrants a new release. I'll look into that shortly. In the mean time, you can apply those changes and continue testing (i.e. click 'raw' on that page to obtain the patch) Regards, Stephan