[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-mailutils] Error in redirect sieve action
From: |
Kostas Zorbadelos |
Subject: |
Re: [bug-mailutils] Error in redirect sieve action |
Date: |
Wed, 29 Jun 2005 18:27:53 +0300 |
User-agent: |
Mutt/1.5.9i |
On Tue, Jun 28, 2005 at 07:17:25PM +0300, Kostas Zorbadelos wrote:
> I think it is best to start a new thread about this one.
>
> Using the program illustrated in the thread
> http://lists.gnu.org/archive/html/bug-mailutils/2005-06/msg00034.html
> (read a mailbox and for each message execute a sieve script) with the
> alpha sources of mailutils (mailutils-20050623.tar.gz) I get the
> following error in the redirect action:
>
> Sergey Poznyakoff <address@hidden> Re: [bug-mailutils] [Error] fileinto:
> cannot save to mailbox: Function not implemented
> redirect: 1: cannot get envelope sender: Requested item not found
>
I traced the issue a bit further and I can see that the failing
function is envelope_sender() in sieve_get_message_sender(). The stack
trace is:
(gdb) bt
#0 sieve_get_message_sender (msg=0x805ba58, ptext=0xbffff830)
at actions.c:116
#1 0x4008101c in sieve_action_redirect (mach=0x804b0d8, args=0x8050110,
tags=0x0) at actions.c:386
#2 0x40083e9e in instr_run (mach=0x804b0d8) at runtime.c:85
#3 0x40083f33 in instr_action (mach=0x804b0d8) at runtime.c:98
#4 0x40084565 in sieve_run (mach=0x804b0d8) at runtime.c:283
#5 0x40084828 in sieve_message (mach=0x804b0d8, msg=0x805ba58)
at runtime.c:362
#6 0x08048f05 in main (argc=3, argv=0xbffff9c4) at testsieve.c:100
(gdb) n
My sieve script is shown below:
> require ["fileinto","redirect"];
>
> if header :contains "from" "Sergey"
> {
> redirect "address@hidden";
> }
Is this a bug or I am missing something?
--
Kostas Zorbadelos
Systems Designer/Developer, Otenet SA
address@hidden contact: kzorba (at) otenet.gr
Out there in the darkness, out there in the night
out there in the starlight, one soul burns brighter
than a thousand suns.