[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-mailutils] [Error] fileinto: cannot save to mailbox: Function not i
From: |
Kostas Zorbadelos |
Subject: |
[bug-mailutils] [Error] fileinto: cannot save to mailbox: Function not implemented |
Date: |
Wed, 22 Jun 2005 12:13:30 +0300 |
User-agent: |
Mutt/1.5.9i |
Hello to the list.
This is my first post here as I am about to use mailutils in a new
project. My question has to do with libsieve. I am writing a program
that reads a mailbox (very similar to the one that exists in the
manual section 3.1, Framework) and foreach message it executes a sieve
script.
The script I want to have executed is something like
require "fileinto";
if header :contains "from" "xxx"
{
fileinto "test.mbox";
}
In my program I instanciate the sieve machine,
/* Create the instance of the sieve machine */
status = sieve_machine_init(&mach,NULL);
if (status !=0) {
mu_error ("Cannot initialize sieve machine: %s", mu_strerror (status));
exit (EXIT_FAILURE);;
}
...
Then I compile the script,
...
status = sieve_compile(mach,argv[2]);
if (status !=0) {
mu_error ("Error compile sieve script: %s", mu_strerror (status));
exit (EXIT_FAILURE);;
}
...
and in a loop I execute the sieve script for each message using
...
status = sieve_message(mach,msg);
...
The loop goes OK, printing the from and subject headers for each
message, but I get the string
fileinto: cannot save to mailbox: Function not implemented
for each message that matches the script's criteria. Do I need to
register my own handler function for the fileinto action anywere?
More generally, are there any default handlers for the fileinto,reject
and redirect actions?
Any help would be greatly appreciated, since I am missing something
and I didn't find anything obvious in the manual.
I am using GNU mailutils v.0.6.1-4 from the Debian Sarge.
Thanks in advance
Kostas
--
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.
- [bug-mailutils] [Error] fileinto: cannot save to mailbox: Function not implemented,
Kostas Zorbadelos <=
- Re: [bug-mailutils] [Error] fileinto: cannot save to mailbox: Function not implemented, Sergey Poznyakoff, 2005/06/22
- Re: [bug-mailutils] [Error] fileinto: cannot save to mailbox: Function not implemented, Kostas Zorbadelos, 2005/06/22
- Re: [bug-mailutils] [Error] fileinto: cannot save to mailbox: Function not implemented, Sergey Poznyakoff, 2005/06/22
- Re: [bug-mailutils] [Error] fileinto: cannot save to mailbox: Function not implemented, Kostas Zorbadelos, 2005/06/22
- Re: [bug-mailutils] [Error] fileinto: cannot save to mailbox: Function not implemented, Sergey Poznyakoff, 2005/06/22
- Message not available
- Message not available
- Re: [bug-mailutils] [Error] fileinto: cannot save to mailbox: Function not implemented, Kostas Zorbadelos, 2005/06/23
- Re: [bug-mailutils] [Error] fileinto: cannot save to mailbox: Function not implemented, Sergey Poznyakoff, 2005/06/23
- Re: [bug-mailutils] [Error] fileinto: cannot save to mailbox: Function not implemented, Kostas Zorbadelos, 2005/06/23
- Re: [bug-mailutils] [Error] fileinto: cannot save to mailbox: Function not implemented, Kostas Zorbadelos, 2005/06/23
- Re: [bug-mailutils] [Error] fileinto: cannot save to mailbox: Function not implemented, Sergey Poznyakoff, 2005/06/24