On Wed, Jun 22, 2005 at 03:55:10PM +0300, Sergey Poznyakoff wrote:
> Kostas Zorbadelos <[EMAIL PROTECTED]> wrote:
>
> > I call this program as
> > ./testsieve file://path/to/Maildir filters.sieve
> >
> > and in the output I get
> [...]
> > fileinto: cannot save to mailbox: Function not implemented
> > ...
> >
> > I also get a zero length file test.mbox created but no mail is
> > delivered there.
>
> Hmm, that's strange. I have tried your program and recieved the expected
> behavior without any errors. Possibly there are some conditions I was
> not able to reproduce.
>
> Included is a modified version of your program that implements some
> rudimentary debugging features. Please, try running it, having defined
> previously environment variable MU_DEBUG, e.g.:
>
> MU_DEBUG=1 ./testsieve file://path/to/Maildir filters.sieve
>
> What does it output?
>
> Regards,
> Sergey
>
I run the modified version. Here is the relevant debugging output from
the matching messages:
...
Sergey Poznyakoff <[EMAIL PROTECTED]> Re: [bug-mailutils] [Error] fileinto:
cannot save to mailbox: Function not implemented
mbox_open (/home/kzorba/WorkingArea/trunk/mda/test.mbox, 0x12)
mbox_append_message (/home/kzorba/WorkingArea/trunk/mda/test.mbox)
mailbox_append_message (test.mbox) failed: Function not implemented
mbox_close (/home/kzorba/WorkingArea/trunk/mda/test.mbox)
mbox_destroy (/home/kzorba/WorkingArea/trunk/mda/test.mbox)
fileinto: cannot save to mailbox: Function not implemented
...
Sergey Poznyakoff <[EMAIL PROTECTED]> Re: [bug-mailutils] [Error] fileinto:
cannot save to mailbox:
Function not implemented
mbox_open (/home/kzorba/WorkingArea/trunk/mda/test.mbox, 0x12)
mbox_append_message (/home/kzorba/WorkingArea/trunk/mda/test.mbox)
mailbox_append_message (test.mbox) failed: Function not implemented
mbox_close (/home/kzorba/WorkingArea/trunk/mda/test.mbox)
mbox_destroy (/home/kzorba/WorkingArea/trunk/mda/test.mbox)
fileinto: cannot save to mailbox: Function not implemented
...
It seems the failing function is mailbox_append_message().
I also include my Makefile to see the libraries I link against.
Thanks again and lets see...
--
Kostas Zorbadelos
Systems Designer/Developer, Otenet SA
[EMAIL PROTECTED] 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.
CC = gcc
LPATH = -L/usr/lib
LIBS = -lmailbox -lmu_mbox -lmu_maildir -lmu_mh -lsieve
default: all
all: testsieve
testsieve: testsieve.c
$(CC) $(LPATH) -o testsieve testsieve.c $(LIBS)
_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils