[imapfilter-devel] Problems With First Rule
Tom Purl
tom at tompurl.com
Thu Jul 19 00:20:22 EEST 2007
I'm using version 2.0.2.
Hi, I'm trying to set up imapfilter and am unable to get past step 1.
Any help you can give me would be greatly appreciated!
Here's the header for the message that I'm trying to process with
imapfilter:
X-DH-Virus-Scanned: Debian amavisd-new at carrie.dreamhost.com
X-Spam-Score: 0
X-Spam-Level:
X-Spam-Status: No, score=0 tagged_above=-999 required=999 tests=[none]
X-YMail-OSG: ZPKke1kVM1l0G5_zJQ3c4d9ZAWTSBFK5CiRwiyypPEGezF7EU.drqAi38FtXLicKJW51et4fjg--
From: Tom Purl <tom at tompurl.com>
To: tom at tompurl.com
Subject: imapfilter test 1
Reply-To: tom at tompurl.com
This message is currently located in my INBOX folder. I would like to
move it to my INBOX. at Action folder. So, here's the contents of my
config.lua file:
options.timeout = 120
options.subscribe = true
account1 = IMAP {
server = 'some.imap.com',
username = 'myid',
password = 'secret',
}
result = account1.INBOX:contain_from('tom at tompurl.com')
account1.INBOX:move_messages(account1['@Action'], result)
However, when I do this, I get the following verbose output from
imapfilter:
$ imapfilter -v
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.
C (3): 1007 LOGOUT
S (3): 1007 OK LOGOUT completed
So it appears as though nothing happens, since my "tom at tompurl.com"
message is still in my inbox.
Is there something that I'm missing?
Thanks again!
Tom Purl
More information about the Imapfilter-devel
mailing list