[imapfilter-devel] imapfilter error: "attempt to concatenate local `header'"
Lefteris Chatzibarbas
lefcha at hellug.gr
Thu May 13 21:19:33 EEST 2004
On Thu, May 13, 2004 at 12:20:42PM +0200, pw wrote:
> Hi,
> once in a while, I get the following strange error message (using Imapfilter
> 1.0-rc4):
>
> imapfilter: /usr/share/imapfilter/interface.lua:366: attempt to concatenate
> local `header' (a nil value)
>
> Below is the output of two calls of imapfilter, one right after the other, and
> my imapfilter configuration file.
>
> -- PW
>
>
> #> imapfilter -c .imapfilter/bogofilter.lua
> no HAM marked for training
> no SPAM marked for training
> found no messages in 'Junk/spam'
> imapfilter: /usr/share/imapfilter/interface.lua:366: attempt to concatenate
> local `header' (a nil value)
>
> #> imapfilter -c .imapfilter/bogofilter.lua
> no HAM marked for training
> no SPAM marked for training
> found no messages in 'Junk/spam'
> 0 messages in 'INBOX' classified SPAM
> 0 messages in 'INBOX' classified UNSURE
Can you run imapfilter with the -d, and when you see this error again send me
the output of the relevant /tmp/imapfilter.* debug file?
Also, you could try adding to imapfilter's interface.lua just before line 366:
print(type(header), header, type(body), body)
... in order to find out what does it get from the server as header and body of
the message.
More information about the Imapfilter-devel
mailing list