[imapfilter-devel] Problems With First Rule

Lefteris Chatzimparmpas lefcha at hellug.gr
Thu Jul 19 10:45:26 EEST 2007


Tom Purl wrote:
> [...]
> 
> Here's the debug output:
> 
>     getting response (4):
> 
>     * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
>     * THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE STARTTLS]
>     * Courier-IMAP ready. Copyright 1998-200
>     5 Double Precision, Inc.  See COPYING for distribution information.
> 
>     sending command (4):
> 
>     1000 NOOP
> 
>     getting response (4):
> 
>     1000 OK NOOP completed
> 
>     sending command (4):
> 
>     1001 CAPABILITY
> 
>     getting response (4):
> 
>     * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT
>     * THREAD=REFERENCES SORT QUOTA IDLE STARTTLS
>     1001 OK CAPABILITY completed
> 
>     sending command (4):
> 
>     1002 STARTTLS
> 
>     getting response (4):
> 
>     1002 OK Begin SSL/TLS negotiation now.
> 
>     sending command (4):
> 
>     1003 CAPABILITY
> 
>     getting response (4):
> 
>     * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT
>     * THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN
>     1003 OK CAPABILITY completed
> 
>     sending command (4):
> 
>     1004 LOGIN "myid" *
> 
>     getting response (4):
> 
>     1004 OK LOGIN Ok.

This isn't the whole debug file, is it? Because it stops just after the
login to the server...

> I got the same output with the new version of mailbox.lua that you sent
> to me.  
>   
> Here's the weird part, however.  I run Ubuntu 6.10, and the latest
> version of imapfilter that's available for this distribution is 1.2.1.
> I installed that version instead and set up the following config file:

Oh, it just came to me, that maybe you're using Lua 5.0.x instead of Lua
5.1.x.  That would explain the weird behaviour.  Can you run "lua -v"
and tell us the version?

> [...]
> 
> This actually *worked*.  I can't tell the difference between the two
> files in a functional way, however.  

Can you send the debug files both from version 2.0.2 and version 1.2.1?
You can do this with "imapfilter -d" in both versions...

> Thanks again for the help!

No problem.

L.




More information about the Imapfilter-devel mailing list