[imapfilter-devel] Problems With First Rule

Tom Purl tom at tompurl.com
Thu Jul 26 04:49:25 EEST 2007


On Wed, Jul 25, 2007 at 12:34:58PM +0300, Lefteris Chatzimparmpas wrote:
> Hmm... Can you try again with the attached mailbox.lua, and send again
> the output?  I'm just trying to see where is the problem...

The same message from yesterday wasn't moved using the 2.0.2 version,
but the 1.2 version worked.  Here's the output from 2.0.2:

    $ /usr/local/bin/imapfilter -v -c ~/.imapfilter/config.lua.new
    S (3): * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc.  See COPYING for distribution information.
    C (3): 1000 CAPABILITY
    S (3): 1000 OK CAPABILITY completed
    C (3): 1001 STARTTLS
    S (3): 1001 OK Begin SSL/TLS negotiation now.
    C (3): 1002 CAPABILITY
    S (3): 1002 OK CAPABILITY completed
    C (3): 1003 LOGIN "myid" *
    S (3): 1003 OK LOGIN Ok.
    C (3): 1004 NAMESPACE
    S (3): 1004 OK NAMESPACE completed.
    C (3): 1005 SELECT "INBOX"
    S (3): 1005 OK [READ-WRITE] Ok
    C (3): 1006 UID SEARCH FROM "tom at tompurl.com"
    S (3): 1006 OK SEARCH done.
    search: 319
    insert 319
    table result

    copying...
    zero messages? 0
    C (3): 1007 LOGOUT
    S (3): 1007 OK LOGOUT completed
  
> But then you can try also replacing response.c with the one I'm
> attaching, recompile and try again...

I got the same results.  Here they are:

    $ /usr/local/bin/imapfilter -v -c ~/.imapfilter/config.lua.new
    S (3): * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc.  See COPYING for distribution information.
    C (3): 1000 CAPABILITY
    S (3): 1000 OK CAPABILITY completed
    C (3): 1001 STARTTLS
    S (3): 1001 OK Begin SSL/TLS negotiation now.
    C (3): 1002 CAPABILITY
    S (3): 1002 OK CAPABILITY completed
    C (3): 1003 LOGIN "myid" *
    S (3): 1003 OK LOGIN Ok.
    C (3): 1004 NAMESPACE
    S (3): 1004 OK NAMESPACE completed.
    C (3): 1005 SELECT "INBOX"
    S (3): 1005 OK [READ-WRITE] Ok
    C (3): 1006 UID SEARCH FROM "tom at tompurl.com"
    S (3): 1006 OK SEARCH done.
    search: 320
    insert 320
    table result

    copying...
    zero messages? 0
    C (3): 1007 LOGOUT
    S (3): 1007 OK LOGOUT completed

> The strange thing (apart from being unable to reproduce this problem)
> is that the backend C code for imapfilter 2 is (almost) the same with
> imapfilter 1, since mainly the interface has changed...

Yeah, that is strange.  I really appreciate the help!  I wish that I
could give you more information about my profile.   
  
Thanks again!

Tom Purl




More information about the Imapfilter-devel mailing list