[imapfilter-devel] Conditional Actions in config.lua
David DeSimone
fox at verio.net
Sat Apr 17 21:01:54 EEST 2010
Lefteris Chatzimparmpas <lefcha at hellug.gr> wrote:
>
> bit different, that one returned a boolean.
>
> The new functions could be made to return something, I guess the best
> would be to return true when all the copying was successful.
I suggest that the function might return a results table which specifies
exactly which messages were successfully copied. That way the return
value could be used by the next move() function to tell which messages
should be archived.
Checking for a completely successful copy would then involve comparing
the size of the input list to the size of the output list.
Does that make sense?
--
David DeSimone == Network Admin == fox at verio.net
"I don't like spinach, and I'm glad I don't, because if I
liked it I'd eat it, and I just hate it." -- Clarence Darrow
This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. Thank you.
More information about the Imapfilter-devel
mailing list