[imapfilter-devel] Imapfilter sometimes doesn't filter

Lefteris Chatzibarbas lefcha at hellug.gr
Tue Jul 27 11:17:41 EEST 2004


On Mon, Jul 26, 2004 at 11:15:24PM -0500, David DeSimone wrote:
> It actually bothers me somewhat, that imapfilter treats all operations 
> independently.  For instance, when imapfilter performs a "match" 
> operation, and next does a "delete" on those results, isn't there a 
> chance that some other IMAP client might have connected and moved some 
> of the messages around between that time?  Sure, it is a small gap in 
> time, but race conditions do happen!  In such a case, imapfilter might 
> delete the wrong messages!
> 
> Of course, the UID option works fine for this, but it seems to me that 
> UID should be a *requirement* for using imapfilter!  It is not safe to 
> do otherwise!

Yes, sometimes having UIDs disabled will mess things up.  I will make
options.uid enabled by default in version 1.0.1 (coming soon).




More information about the Imapfilter-devel mailing list