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

Lefteris Chatzimparmpas lefcha at hellug.gr
Wed Oct 24 00:49:46 EEST 2007


On Tue, Oct 23, 2007 at 06:13:58PM -0300, Alejandro Jakubi wrote:
> Lefteris,
> 
> I have changed config.lua to
> 
> ===
> function filtrar()
> ...
> 
> ifcore.logout(account1)
> end
> 
> ...
> 
> daemon_mode(3600, filtrar)
> 
> ===
> 
> and executed imapfilter -d.
> 
> This time imapfilter has filtered again at the hour.

I guess that means that it works fine now.

I'll check if I can reproduce this problem with the long inactivity, and
work out a solution...

> Note. during this hour, the system manager answered a previous message
> and told me that he would upgrade imapfilter. And, it is right now
> ver. 2.0.6. I wonder how this could have changed things.

Version 2 has a totally different configuration format.  I believe it is
easier and more powerful.  You can check out the sample config file
(sample.config.lua) to get an idea how it works, and then look for more
information in the imapfilter_config(5) man page.

> > 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...
> 
> The debug file genereated at this point has about 8.5 kB and it is a bit
> cryptic. What should I look here? Should I post it attached?

If it works without problems, there is no point sending the debug file.
The debug file would be useful, in the case where imapfilter failed.




More information about the Imapfilter-devel mailing list