[Spambayes] pop3proxy no reviews and smtpproxy stuck

Ilkka Tengvall ilkka.tengvall at iki.fi
Fri Jun 6 09:20:21 EDT 2003


On Fri, 6 Jun 2003, Meyer, Tony wrote:
> Could you try adding this to pop3proxy.py after line 462?
>                     print "added message"
>                 else:
>                     print state.isTest, options["pop3proxy",
> "cache_messages"]

I assumed  you mean the line 462 of 1.0a2 version pop3proxy? I 
made the fix to the same spot in 1.80 version (in onList -function), and 
this is what i get into pop3proxy printouts while fetching few messages:

---&<-----------------
$ pop3proxy.py
Loading database... Loading state from /home/it/.spambayes/hammie.db 
database
/home/it/.spambayes/hammie.db is an existing database, with 139 spam 
and 93 ham
Done.
SMTP Listener on port 2500 is proxying mail.saunalahti.fi:25
Listener on port 1110 is proxying pop.xxx.fi:110
Listener on port 1111 is proxying mailbox.yyy.fi:110
User interface url is http://localhost:8880/
added message
added message
added message
added message
added message
added message
0 1
0 1
added message
0 1
0 1
---&<-----------------


> You should either get a lot of "added message" messages in the terminal
> window (this will be bewildering), or a series of pairs of True/False
> values (or 1/0 values, depending on the Python version) messages (one of
> which will be the culprit).

hope you can see something from this printout. It seems I get both. BTW, I 
forgot to put back the previous patch, but I assume it is no problem since 
it didn't get called. 


I hope that was the right spot for the patch, here's the diff:

---&<-----------------
Index: pop3proxy.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/pop3proxy.py,v
retrieving revision 1.80
diff -r1.80 pop3proxy.py
414a415,417
>                     print "added message"
>                 else:
>                     print state.isTest, options["pop3proxy","cache_messages"]
---&<-----------------

> =Tony Meyer

 -it 






More information about the Spambayes mailing list