[imapfilter-devel] Lua -> attempt to perform arithmetic on local
Hans-Werner Hilse
hilse at sub.uni-goettingen.de
Tue Sep 8 15:11:05 EEST 2009
Hi,
Gilion Goudsmit wrote:
> On another note, is there some way to daemonize that uses the IMAP
> IDLE feature instead of just polling?
>
> That would reduce load on our IMAP server and handle any mail even
> faster; right now I sometimes still see unfiltered mail for a minute
> or two...
I wrote a patch that does this. It didn't yet receive much testing and
is not (yet) incorporated into the distribution. I once sent it as an
RFC to this list:
http://lists.hellug.gr/pipermail/imapfilter-devel/2007/000514.html
Please, have a try. I think it should still apply (though not 100%
cleanly, but that should not matter), if it doesn't work, just drop me a
note!
There is also an example included that shows its usage. Basically, it's
repeat
filterfunction()
until not myaccount[inbox]:idle()
instead of
daemon_mode(200,filterfunction)
> Thanks for imapfilter though! It's saving me a lot of annoyance!
Me too!
-hwh
--
Hans-Werner Hilse
Niedersächsische Staats- und Universitätsbibliothek Göttingen
Abt. Informations- u. Literaturversorgung, Gruppe elektr. Publizieren
D-37070 Göttingen
Tel. +49 (0)551-39-22523
e-mail: hilse at sub.uni-goettingen.de
Internet: www.sub.uni-goettingen.de
More information about the Imapfilter-devel
mailing list