[imapfilter-devel] Result; two processes?

Joachim Tingvold joachim at tingvold.com
Tue Mar 15 03:42:12 EET 2011


Hi,

Is there an easy way to use two processes on the same result? The line  
below doesn't seem to do the trick;

results = workmail.INBOX:is_new()
results = workmail.INBOX:is_recent()
results:match_from("some at email.com"):move_messages(workmail 
['somefolder']):mark_seen()

I was kinda hoping to avoid 'double lines';

results:match_from("some at email.com"):mark_seen()
results:match_from("some at email.com"):move_messages(workmail 
['somefolder'])

Any suggestions?

-- 
Joachim


More information about the Imapfilter-devel mailing list