[spambayes-dev] RE: [Spambayes] pop3proxy_service and smtpproxy

Meyer, Tony T.A.Meyer at massey.ac.nz
Mon Aug 18 16:26:38 EDT 2003


> When I explicitly start pop3proxy.py, it starts smtpproxy as 
> expected.  If I use pop3proxy_service.py, the smtpproxy is 
> not started.  Any ideas why this is happening?

The service starts pop3proxy's main function, but smtpproxy is started
in pop3proxy's run function (which calls main).

What's the best way to fix this?

 o Move the smtpproxy starting code into main().
 o Add smtpproxy starting code into pop3proxy_service.py.
 o Have a separate service for smtpproxy (this is problematic because
they have to share the database).
 o Something else.

I don't really know much about Windows services, so I'm throwing this to
the -dev list.

=Tony Meyer



More information about the spambayes-dev mailing list