[Spambayes] IMAP Filter

Meyer, Tony T.A.Meyer at massey.ac.nz
Tue Apr 8 10:48:49 EDT 2003


> Tony> * imap_expunge: True iff you want an expunge 
> Tony>   (purge) done on exit (defaults to False)
> 
> What does "purge" or "expunge" mean in this case? 

All messages marked with the //deleted flag are permanently removed from
the server.

> Are messages in folders deleted as a result when this is set to 
> True?  If so, this is probably not a good idea.  Someone will 
> eventually set it to True then complain that spambayes 
> deletes valid messages.

To clarify, as things are, spambayes doesn't mark any incoming messages
as //deleted, spam or not.  In order to move/change a message, a new one
is created (a copy, more or less), and the old one is marked as
//deleted.  So an expunge gets rid of these duplicates.  However, it
also gets rid of any messages set as //deleted by the user.

For reference, Outlook Express does much the same thing, from what I've
observed.  If you move a message from one IMAP folder to another, a copy
of the message is created in the destination folder, and the source
folder holds the original message, but now with the //deleted flag set.
Not that I'm holding OE up as an example of how to do things right, of
course ;)

=Tony Meyer



More information about the Spambayes mailing list