Hi, I'm submitting this patch for pop3proxy. Instead of having only BayesProxyListener listening on port 6110. BayesProxyListener listening on port 6111. BayesProxyListener listening on port 6112. the patch makes pop3proxy prints BayesProxyListener listening on port 6110 for mail.gmc.ulaval.ca:110. BayesProxyListener listening on port 6111 for pop.videotron.ca:110. BayesProxyListener listening on port 6112 for pop.videotron.net:110. This helps you set your stuff, if you don't remember what is the order of the pop server in Options.py Please be nice with me this is my first python code modification. I had to look in the Documentation to find out the type of factoryArgs and then how to print a tuple. Index: pop3proxy.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/pop3proxy.py,v retrieving revision 1.26 diff -r1.26 pop3proxy.py 162c162,166 < print "%s listening on port %d." % (self.__class__.__name__, port) ---
if len(factoryArgs) >= 2: print "%s listening on port %d for %s:%d." %
(self.__class__.__name__, port,
factoryArgs[0], factoryArgs[1])
else: print "%s listening on port %d." %
(self.__class__.__name__, port) papaDoc
Hi papaDoc,
I'm submitting this patch for pop3proxy. Instead of having only BayesProxyListener listening on port 6110. BayesProxyListener listening on port 6111. BayesProxyListener listening on port 6112. the patch makes pop3proxy prints BayesProxyListener listening on port 6110 for mail.gmc.ulaval.ca:110. BayesProxyListener listening on port 6111 for pop.videotron.ca:110. BayesProxyListener listening on port 6112 for pop.videotron.net:110.
Many thanks, but Tim Stone has beaten you to it! Update from CVS and you'll get something like this: Listener on port 110 is proxying pop3.demon.co.uk:110 Listener on port 111 is proxying pop3.freeserve.net:110 User interface url is http://localhost:8880 -- Richie Hindle richie@entrian.com
participants (2)
-
papaDoc -
Richie Hindle