On Fri, May 11, 2007, Paul J Stevens <[EMAIL PROTECTED]> said:

> So you *need* build_args_array_ext which requires using a struct
> ImapSession. After that the 'char **args' member of that struct is
> filled and filled safely.
>
> I had to add dbmail-imapsession.c and memblock.c to dbmail-exports's
> source files to get it working of course.

build_args_array_ext actually writes/reads from the imapsession's ci
structure if the search string includes a {length+} parameter. I suppose
we could just document that as, "hey, don't do that, it'll crash your
export process" for now. 

Long term, it might make sense to have a callback. In this case, the
callback would print an error that {length+} arguments are not supported
from dbmail-export. 

Aaron
_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to