[Spambayes] pop3/smtp proxy with Outlook/Outlook Express (bug?)

Austine Jane janeaustine50 at hotmail.com
Mon Sep 29 00:44:36 EDT 2003


>From: "Meyer, Tony" <T.A.Meyer at massey.ac.nz>
>To: "Austine Jane" <janeaustine50 at hotmail.com>, <spambayes at python.org>
>Subject: RE: [Spambayes] pop3/smtp proxy with Outlook/Outlook Express 
>(bug?)
>Date: Mon, 29 Sep 2003 12:01:56 +1200
>
> > I have looked into sb_smtpproxy.py source code, and found
> > that the proxy examines the body part of email as well to
> > find cached mail id. So I copied the original spambayes
> > headers into the body and forwarded to the smtp
> > proxy. It seemed to be working.
>
>Yes, that would also work.  When I said that it wouldn't work with OE, I
>meant without going through this sort of thing (finding the id then
>pasting it into a message seems more hassle than just using the web
>interface).
>
> > "Could not extract id" message is not shown
> > anymore. In the train_cached_message method, however, the
> > if-statement prints "Could not find message...perhaps it was
>deleted..."
>
>Hopefully, exactly what it says :)  If you look in the three cache
>folders, is there a file with the same name as the id?  If not, then it
>has expired (the default is to last 7 days), and so can't be used for
>training.
>

First of all, thank you for your reply.

I think there is some kind of problem with spambayes caching and 
classification. When I compose email which includes spam words to my account 
and load them into the local pop3 proxy, spambayes classifies it as spam and 
attaches appropriate X-Spambayes-Classification header. However, as I 
examine the cache folders, the email is put in the unknown cache folder not 
in the spam cache folder. Hence, the error messgae "Could not extract id" as 
I forward the email to spambayes_ham at localhost.

Shouldn't it be corrected?

> > (actually, I had to modify that line so that the strings are
> > concatenated first due to the TypeError: not all arguments converted
> > during string formatting -- a bug.)
>
>Thanks, fixed that, too.
>
>=Tony Meyer

Cheers,

Jane

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail




More information about the Spambayes mailing list