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@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@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@x.y.org): sieve: opening script /var/mail/vhosts/x.y.org/andy/.dovecot.sieve Nov 26 02:51:12 marvin dovecot: deliver(andy@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@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