[Zope-dev] Creating IMAP and SMTP services for Zope

Steve Alexander steve@cat-box.net
Sun, 04 Feb 2001 09:17:02 +0000


ender wrote:

> 
> On Saturday 03 February 2001 10:28, Morten W. Petersen wrote:
>  
>> I'm wondering about creating IMAP and SMTP services for Zope.
>> Someone mentioned to me that extending (using?) the ZServer
>> could be a Good Thing (tm).
> 
> probably. i've always been curious though about the threads in zserver, i 
> thought they were allocated to handle only zpublisher requests (maybe just 
> http requests). assuming you don't want to tie up the thread handling the 
> asyncore it seems you might need to create a pool of threads for handling 
> requests, or adjust your code to translate imap/smtp requests into zpublisher 
> requests so the default pool can be used. 

Or, I guess, you could implement the whole thing as a ZEO client, and avoid
interfering with the threads of your webserving Zope.

--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net