[Spambayes-checkins] spambayes/scripts sb_filter.py,1.3,1.4

Neale Pickett npickett at users.sourceforge.net
Wed Oct 15 01:02:11 EDT 2003


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

Modified Files:
	sb_filter.py 
Log Message:
* Modified muttrc and spambayes.el that actually work with what's being
  shipped :)
* Expanded documentation of sb_filter.py


Index: sb_filter.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/scripts/sb_filter.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** sb_filter.py	24 Sep 2003 06:53:36 -0000	1.3
--- sb_filter.py	15 Oct 2003 05:02:08 -0000	1.4
***************
*** 33,39 ****
          [EXPERIMENTAL] filter and train based on the result (you must
          make sure to untrain all mistakes later)
! *   -g
          [EXPERIMENTAL] (re)train as a good (ham) message
! *   -s
          [EXPERIMENTAL] (re)train as a bad (spam) message
  *   -G
--- 33,39 ----
          [EXPERIMENTAL] filter and train based on the result (you must
          make sure to untrain all mistakes later)
! *+  -g
          [EXPERIMENTAL] (re)train as a good (ham) message
! *+  -s
          [EXPERIMENTAL] (re)train as a bad (spam) message
  *   -G
***************
*** 79,86 ****
  
  
! mutt configuration.  This binds the 'H' key to retrain the message as
  ham, and prompt for a folder to move it to.  The 'S' key retrains as
! spam, and moves to a 'spam' folder.
!     XXX: add this
  
  """
--- 79,93 ----
  
  
! mutt configuration:  This binds the 'H' key to retrain the message as
  ham, and prompt for a folder to move it to.  The 'S' key retrains as
! spam, and moves to a 'spam' folder.  See contrib/muttrc in the spambayes
! distribution for other neat mutt tricks.
! 
!   macro index S "|sb_filter.py -s | procmail\n"
!   macro pager S "|sb_filter.py -s | procmail\n"
!   macro index H "|sb_filter.py -g | procmail\n"
!   macro pager H "|sb_filter.py -g | procmail\n"
!   color index red black "~h 'X-Spambayes-Disposition: spam' ~F"
! 
  
  """





More information about the Spambayes-checkins mailing list