[spambayes-bugs] [ spambayes-Bugs-743131 ] connection refused with pop3proxy

SourceForge.net noreply at sourceforge.net
Mon Aug 25 18:02:47 EDT 2003


Bugs item #743131, was opened at 2003-05-25 12:31
Message generated for change (Comment added) made by richiehindle
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=743131&group_id=61702

Category: pop3proxy
Group: None
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Bernie Gardner (berniegardner)
Assigned to: Richie Hindle (richiehindle)
Summary: connection refused with pop3proxy

Initial Comment:
I'm just starting to use spambayes and need a little
assistance. I am using SuSE linux 8.2 and Evolution as
a mail program.  When I set up the localhost:port
address in Evolution and start pop3proxy with the same
port number, I get a connection refused error when I
try to check mail on the isp server.  
I started pop3proxy first,and in fact I can access the
setup pages in my browser from localhost:8880 with no
problem.  I think it is Evolution which is refused by
my local computer, not pop3proxy by the isp.  The error
message definitely comes from Evolution and comes up
immediately after I press send/recieve.

----------------------------------------------------------------------

>Comment By: Richie Hindle (richiehindle)
Date: 2003-08-26 00:02

Message:
Logged In: YES 
user_id=85414

Tony: It's bizarre that it worked for you... makes me
wonder whether I misunderstood the bug.  Does it fail
(without my fix in place) if you run with no -l and no
ini file?

----------------------------------------------------------------------

Comment By: Richie Hindle (richiehindle)
Date: 2003-08-25 23:57

Message:
Logged In: YES 
user_id=85414

No need for the ini file - the feature was just plain broken,
and is now fixed.

If I *had* needed your ini file, this is what I'd have said:
The ini file is optional, so you may not have one.  If you
do, and it has the default name (which I guess it will for
you) it will be in either your home directory or the current
working directory of pop3proxy, and it will be called either
'.spambayesrc' or 'bayescustomize.ini'.


----------------------------------------------------------------------

Comment By: Tony Meyer (anadelonbrin)
Date: 2003-08-25 23:55

Message:
Logged In: YES 
user_id=552329

Either ~/.spambayesrc or bayescustomize.ini in the current 
working directory, or the envar BAYESCUSTOMIZE can be set 
to a list of files.

"pop3proxy.py -D hammie.pkl pop.myisp" and pop3proxy -D 
hammie.pkl -l 110 pop.myisp" both work here (win32).  Is this 
some *nix thing?  What happens if you change pop3proxy to 
default to port 1110 (line 798) and leave out the -l?

----------------------------------------------------------------------

Comment By: Just van Rossum (jvr)
Date: 2003-08-25 22:34

Message:
Logged In: YES 
user_id=92689

Sorry, you asked about an "ini" file. If I had one, where would I 
find it?

----------------------------------------------------------------------

Comment By: Just van Rossum (jvr)
Date: 2003-08-25 22:29

Message:
Logged In: YES 
user_id=92689

My command line is:

nohup sudo python2.3 -u pop3proxy.py -D MySpamData.pkl -l 110 
<myrealpophost> &

If I leave out the -l 100 option, there is nothing listening on port 
110. netstat confirms that. Maybe I'm just reading the doco wrong, 
but --help says that -l defaults to 110 so I would expect that -l 110 
would be superfluous...

(Needless to say, *with* -l 110, pop3proxy.py works like a 
charm!)

----------------------------------------------------------------------

Comment By: Richie Hindle (richiehindle)
Date: 2003-08-25 22:14

Message:
Logged In: YES 
user_id=85414

You have configured a POP3 server to connect to (or
you're specifying one on the command line), yes?

If not, well no, it won't work.  8-)

If so, same question to you, Just: please tell me your
command line, your ini file, and the "netstat -a" output
before and after starting the proxy.


----------------------------------------------------------------------

Comment By: Just van Rossum (jvr)
Date: 2003-08-25 21:27

Message:
Logged In: YES 
user_id=92689

I just saw the same thing: if I start pop3proxy.py *without* 
specifying the port number with -l, it won't accept connections on 
the default port. The only other option I specified was -D.

This was on MacOSX 10.2.6, using Python 2.3, spambayes fresh 
from CVS.

----------------------------------------------------------------------

Comment By: Richie Hindle (richiehindle)
Date: 2003-07-02 19:49

Message:
Logged In: YES 
user_id=85414

Could you tell me the exact command line you're using to
start the proxy, and attach a copy of your .ini file?  Also,
could you run "netstat -a" before and after starting the
proxy, and attach both sets of output to this bug
report?  Thanks.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=743131&group_id=61702



More information about the Spambayes-bugs mailing list