[Spambayes] sb_imapfilter.py error with option -e y
Rafael Scholl
rafael.scholl at bbox.ch
Mon Jul 18 17:46:07 CEST 2005
Thank you. I don't know why, but the correction as inserted by me does not
appear to work. Could you please send me a corrected sb_imapfilter.py after
all?
Rafael Scholl
At 02:51 18.07.2005, Tony Meyer wrote:
> > I think you solved my spambayes problem but then forgot to
> > send me the answer. I am sorry for pushing if you are simply
> > delayed, but life without a functional spam filter is not picnic.
>
>Sorry, I've been working away from the normal places over the last few days,
>and so didn't have access to the patch. I would have got to it today.
>
>The change you need to make is very small:
>
>*** sb_imapfilter.py 3 Jul 2005 08:53:28 -0000 1.62
>--- sb_imapfilter.py 8 Jul 2005 03:24:40 -0000 1.63
>***************
>*** 273,278 ****
> "unsure_folder",
> "ham_folder"]:
>! self.select(options["imap", fol])
>! self.expunge()
> # Expunge messages from the ham and spam training folders.
> for fol_list in ["ham_train_folders",
>--- 273,280 ----
> "unsure_folder",
> "ham_folder"]:
>! folder_name = options["imap", fol]
>! if folder_name:
>! self.select(folder_name)
>! self.expunge()
> # Expunge messages from the ham and spam training folders.
> for fol_list in ["ham_train_folders",
>
>=Tony.Meyer
>
>--
>Please always include the list (spambayes at python.org) in your replies
>(reply-all), and please don't send me personal mail about SpamBayes.
>http://www.massey.ac.nz/~tameyer/writing/reply_all.html explains this.
* Passed viruscheck by Kaspersky Lab Business Enterprise Scanner *
More information about the Spambayes
mailing list