[imapfilter-devel] Filtering Problem

Jim Gifford maillist at jg555.com
Mon Jul 26 02:03:05 EEST 2004


I send an email to the account, check the email then run imapfilter, it
deletes the email.,

What did I do wrong??

filter_14days = {
        'since ' .. date_before(14),
}

check(account1, 'test')
results = match(account1, 'test', filter_14days)
delete(account1, 'test', results)

1 messages, 0 recent, 1 unseen, in user at mydomain.com/test.
C (4): 100C SELECT "INBOX.test"
S (4): 100C OK [READ-WRITE] Ok
C (4): 100D SEARCH ALL (since 26-May-2004)
S (4): 100D OK SEARCH done.
C (4): 100E CLOSE
S (4): 100E OK mailbox closed.
C (4): 100F SELECT "INBOX.test"
S (4): 100F OK [READ-WRITE] Ok
C (4): 1010 STORE 1 +FLAGS.SILENT (\Deleted)
S (4): 1010 OK STORE completed.
C (4): 1011 CLOSE
S (4): 1011 OK mailbox closed.
1 messages deleted in user at mydomain.com/test.


----
Jim Gifford
maillist at jg555.com




More information about the Imapfilter-devel mailing list