[imapfilter-devel] imapfilter as a library

Lefteris Chatzimparmpas lefcha at hellug.gr
Mon Jul 30 10:48:15 EEST 2007


Michael Skibbe wrote:
> On Friday 27 July 2007 12:48, Tim Smith wrote:
>> Though my main interest is to use it as an IMAP library from another
>> project (written in Lua); so far everything seems to be working nicely.
> 
> very nice idea.

Yes, indeed.

This is related to some ideas I had; that as imapfilter 2 was a rewrite
of imapfilter's interface, imapfilter 3 should be a rewrite of its
internals.  And this should be done in such a way, that imapfilter does
not embed lua, but extends it.

This means break up the functionality of imapfilter's core into Lua
modules that the interface would then use.  This way imapfilter (or the
new Lua modules) would be more useful for Lua, and still users could use
imapfilter the same way as now.  Of course the modules should be clean,
each of them should do one thing well, and reasonably complete...

Also, I guess things have changed a bit for Lua since I started using
it, and I may get some help from modules that have been written lately...

But for now, I will consider this patch and the imapfilter-as-Lua-module
functionality for version 2.1...

L.




More information about the Imapfilter-devel mailing list