[imapfilter-devel] imapfilter and expunging

Lefteris Chatzibarbas lefcha at hellug.gr
Wed May 19 01:26:06 EEST 2004


On Tue, May 18, 2004 at 02:49:57PM -0700, John Webster wrote:
> Unfortunately, no.  According to the manpage options.expunge
> controls whether the message is expunged immediately or later
> upon closing.  (And I tried it. :)

Hmm... basically each time an "imapfilter operation" is performed (such
as match, flag, copy, etc.) the mailbox is selected in the beginning
(SELECT) and closed in the end (CLOSE) of the operation.  And naturally
a CLOSE command removes any messages that are marked as 'deleted'.

I think this changed two release candidates ago (the SELECT-CLOSE
sequence).  I will add an option to control whether a CLOSE command
should be issued in the end of each operation that will solve this
problem.




More information about the Imapfilter-devel mailing list