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

Alejandro Jakubi jakubi at df.uba.ar
Sat Oct 20 01:58:41 EEST 2007


> 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...

OK. The system manager has just installed imapfilter v1.3, I do not know why
not the current one. I will ask him first about upgrading.

> 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

Yes, I want messages with the pattern [SPAM] in the subject be moved and just
stay there flagged as deleted, and I want messages with another pattern in the
subject be deleted (ie removed) immediately from the INBOX. Do those options
interfere with this second task?

Also, I want a log file whose lines are the actions (move, delete) that
imapfilter makes, as those that I get on the output with the command line
option -v:

4 messages moved from xxx/INBOX to xxx/mail/SPAM.

plus the name of the rule/pattern used (or some equivalent label), and the date
and time of the action. How do I get that?

Indeed, with the command line option -l a "logfile" is created but nothing is
written inside. Is this one the expected behaviour?

Regards, Alejandro










More information about the Imapfilter-devel mailing list