[imapfilter-devel] Error: attempt to index field 'INBOX'
Lefteris Chatzimparmpas
lefcha at hellug.gr
Sat Oct 20 00:23:44 EEST 2007
On Fri, Oct 19, 2007 at 06:08:00PM -0300, Alejandro Jakubi wrote:
> Thank you for your answer. In the section on documentation of
> http://imapfilter.hellug.gr, I have not found a statement about the version
> of
> imapfilter for which the the online man pages imapfilter(1) and
> imapfilter_config(5) hold, or differences in the commands between versions.
That's true, but the current version is 2.0.6, and the online
documentation (which is the same with the documentation inside the
distributed source code) is for that version. Version 1.3 is considered
obsolete and will disappear sometime in the near future...
> On the other hand, as it was installed in the system of my department, the
> man
> pages for this version 1.3 are quite unreadable. So, a pointer to the
> documentation for the version 1.3 would be welcomed.
You can download the 1.3 distribution from the website, and have a look
in the sample.config.lua file. Maybe this will help you better
understand how imapfilter works (well used to work). Otherwise there is
always this list for any questions you may have...
> No, what I want is to have those messages moved from the INBOX to the SPAM
> folder and stay there marked as deleted. I think that marking them first
> and then
> moving should produce the same result, isn't it?
When you move messages, they actually get copied to the destination
folder, then marked deleted in the source folder and finally if the
mailbox is "closed" they are removed. So if you want them to stay there
just marked deleted but without actually removing them from the mailbox,
you have to set the following options like this:
options.close = false
options.expunge = false
More information about the Imapfilter-devel
mailing list