[imapfilter-devel] Error: attempt to index field 'INBOX'

Lefteris Chatzimparmpas lefcha at hellug.gr
Tue Oct 23 08:44:42 EEST 2007


On Tue, Oct 23, 2007 at 01:29:26AM -0300, Alejandro Jakubi wrote:
> On this side, I have met an unexpected problem with imapfilter running in
> background, using daemon_mode(): if I set p.ej. 600 (10 min) up to 1800 as a
> temporal parameter, it works fine, but with 2400 or 3600 (1 h) it makes the
> initial filtering, and when it is about to repeat it, the daemon dies.
> 
> Is this a feature or a bug?
> 
> I would prefer periods longer than 1h (probably 4 to 6 hs). Should I use cron
> instead?

Hmm... I thing I may know what's causing this... Can you add the
following command just after you finish your commands in the
daemon_mode() function:

  ifcore.logout(myaccount)

... where "myaccount" is your account's name...

This problem may be caused by the long inactivity, although, imapfilter
checks for any autologout messages sent from the server...

If you could run imapfilter with the -d option and look for a file named
~/.imapfilter/debug.??????, it would probably clear things out on
this...




More information about the Imapfilter-devel mailing list