[Spambayes-checkins] spambayes/scripts sb_imapfilter.py,1.12,1.13

Tony Meyer anadelonbrin at users.sourceforge.net
Sun Oct 5 21:46:37 EDT 2003


Update of /cvsroot/spambayes/spambayes/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv3316/scripts

Modified Files:
	sb_imapfilter.py 
Log Message:
When we mark a message as deleted, mark it as read (seen) as well.  This
apparently helps some mail clients, and makes sense anyway.

Index: sb_imapfilter.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/scripts/sb_imapfilter.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** sb_imapfilter.py	3 Oct 2003 06:02:47 -0000	1.12
--- sb_imapfilter.py	6 Oct 2003 01:46:35 -0000	1.13
***************
*** 423,427 ****
              imap.SelectFolder(self.previous_folder.name)
              self.previous_folder = None
!         response = imap.uid("STORE", self.uid, "+FLAGS.SILENT", "(\\Deleted)")
          self._check(response, 'store')
  
--- 423,427 ----
              imap.SelectFolder(self.previous_folder.name)
              self.previous_folder = None
!         response = imap.uid("STORE", self.uid, "+FLAGS.SILENT", "(\\Deleted \\Seen)")
          self._check(response, 'store')
  





More information about the Spambayes-checkins mailing list