[imapfilter-devel] Imapfilter Exiting Infinite Loop Timeout?
Lefteris Chatzimparmpas
lefcha at hellug.gr
Wed May 19 21:05:54 EEST 2010
On 05/19/2010 02:47 AM, Paul wrote:
> See I am passing a mailbox - it possible to get from a mailbox
> (home['personal/incoming']) to be able to issue a logout at the account
> level - ifcore.logout(home._imap). Ie, this gets to the function as
> "tomailbox", so is there something like tomailbox._account._imap?
Yes, that's correct:
ifcore.logout(tomailbox._account._imap)
> I will be doing this for a number of accounts, by running several
> instances of imapfilter with different configs, and and so do_idle will
> be a "require". Ideally I would want it to be mailbox agnostic (though I
> could just work around by using the same "home" account variable for
> each instance of imapfilter).
>
> So my other question is about running multiple instances - I know this
> was prevented in earlier imapfilter versions to avoid locking issues. So
> if I have several imapfilters pulling emails from different accounts,
> and copying them to a single account but different folders, will I run
> into any issues do you think? I am expecting that with different
> destination folders I will be avoiding any locking issues, but can you
> think of any other problems I might face?
That should work fine.
> (An imapfilter that supported threading would be totally cool :))
Lua supports different threading models, either through coroutines
included in the standard distribution or through other modules. So that
might be possible, but personally I haven't tried anything with
imapfilter...
More information about the Imapfilter-devel
mailing list