[imapfilter-devel] IMAPFilter 2.0.1
Hans-Werner Hilse
hilse at sub.uni-goettingen.de
Sat Jun 30 18:19:42 EEST 2007
Hi,
On Sat, 30 Jun 2007 17:48:05 +0300 Lefteris Chatzimparmpas
<lefcha at hellug.gr> wrote:
> This should not happen, because from version 2.0 imapfilter uses only
> UIDs (there is an option to disable them but this is to be used only
> during development, the options.uid has been removed from the
> documentation).
> [...]
> Maybe something else is happening in your case, but there is a chance
> you have options.uid set to false (just my guess)... I guess I should
> rename this hidden option, because it could cause problems from
> imapfilter 1.x left-overs...
>
> If something else is causing this problem, I would really like to know
> about it, so I'm waiting for more feedback...
I've attached a short test script. In order to use it, a INBOX with at
least two distinct messages is needed.
Indeed, options.uid is set to _nil_, i.e. is not set at all. And in
fact, there are no "UID <uid>" parameters issued upon FETCH and COPY.
If I read the code right, it just relies on what
get_option_boolean("uid") returns -- and it returns false for an unset
option, I think.
I tried adding "options.uid = true", but that caused an error. I'll
continue investigating...
-hwh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.lua
Type: text/x-lua
Size: 656 bytes
Desc: not available
URL: <http://lists.hellug.gr/pipermail/imapfilter-devel/attachments/20070630/1c4548c2/attachment.bin>
More information about the Imapfilter-devel
mailing list