On Thu, Jun 23, 2005 at 11:12:28AM +0300, Sergey Poznyakoff wrote:
> Kostas Zorbadelos <[EMAIL PROTECTED]> wrote:
>
Hello again Sergey.
> > Good morning (or kalimera) Sergey.
> > I just came to work. Let me know what you need.
>
> Here's what I'd like to do:
>
> 1. Get recent mailutils sources, configure them with --enable-debug and
> compile them. I have prepared the tarball, which you can grab from
> anonymous ftp at ftp://download.gnu.org.ua/gnu/alpha/mailutils-20050623.tar.gz
> (or .bz2, if you prefer).
>
I took your tar and compiled it on my system with
./configure --enable-debug --prefix=/usr/local/mailutils
> 2. Compile your test program and link it statically with the new libraries
>
I recompiled and linked (dynamically) my program with the new
libraries (attached is the Makefile) and...magic! The fileinto action
worked OK.
> 3. If it exhibits the same behavior (which I suspect it will), load it
> into the debugger, set breakpoint to message_save_to_mailbox() and trace
> its execution to see where exactly it fails.
>
The behaviour is now OK. However this keeps us from discovering the
problem in the standard Debian packages. I will send you gdb traces
with the standard Debian libraries if that will help.
For now here are a few next questions:
- How can I fileinto a maildir directory? Is there any special syntax
in the mailbox specification after the fileinto in sieve? Ideally I
would like the fileinto action to "understand" the type of mailbox if
it already exists and create a default if no mailbox exists.
- Where in the sources can I find the procedure that implements the
fileinto action? More generally: can I provide my own callback procedures
(possibly overiding the defaults) for the sieve actions?
- I can see a new vacation action is implemented in this version. Is
this somewhere documented? How can I use it?
> Is it possible?
>
Sorry for the many questions.
If there is anything I can contribute back (even in documentation or
anything please let me know). I 'll be working with mailutils for the
development of a delivery agent to suit our custom needs so I will
also test other sieve actions (namely reject,redirect, discard and the
new vacation) and other Mailutils' functionalities. I intend to use as
much of your good framework as possible.
> Regards,
> Sergey
>
Thanks,
Kostas
--
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
CCOPTS = -Wl,-R /usr/local/mailutils/lib
LIBS = -lmailbox -lmu_mbox -lmu_maildir -lmu_mh -lsieve
default: all
all: testsieve
testsieve: testsieve.c
$(CC) $(CCOPTS) -o testsieve testsieve.c $(LIBS)
_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils