[imapfilter-devel] imapfilter 2.2 broke this LUA function, help?

Lefteris Chatzimparmpas lefcha at hellug.gr
Mon Jun 7 21:44:49 EEST 2010


On 06/06/2010 06:47 PM, Rob Austein wrote:
> That does the basic job, although it misses the old version's batching
> behavior (collecting all the messages to be moved into a particular
> target mailbox and processing them all with a single move_messages()
> command).  But it's enough of a hint that I can probably work out the
> rest for myself.  Thanks!

You can create an empty set and then add messages to it like this:

   set = Set {}
   table.insert(set, message)

... assuming "message" is the same variable as in my previous example.



More information about the Imapfilter-devel mailing list