[imapfilter-devel] bad argument #1 to `getn'

Gautam Gopalakrishnan gautam.gopalakrishnan at its.monash.edu.au
Tue Apr 6 15:55:02 EEST 2004


hello,

I'm trying rc1 and am unable to get started. Below is my
~/.imapfilter/config.lua:

-------------

options.timeout = 120
options.subscribe = true

acc1 = {
	server = 'mail1.monash.edu.au',
	username = 'ggop',
	password = '*',
	ssl = 'ssl3',
}

all = {}

results = match(acc1, 'INBOX', all)
move(acc1, 'INBOX', results, acc1, 'all')

-----------

Error:
imapfilter: /usr/home/ggop/local/share/imapfilter/imapfilter.lua:271:
bad argument #1 to `getn' (table expected, got string)

I've tried this with both, a local lua installation and the static
build. Same error.


Regards
Gautam




More information about the Imapfilter-devel mailing list