Has anyone created a simple POP3 and SMTP server using TWISTED?
Jp Calderone
exarkun at intarweb.us
Tue Mar 18 02:42:19 EST 2003
On Tue, Mar 18, 2003 at 06:46:08AM -0000, Donn Cave wrote:
> Quoth Jp Calderone <exarkun at intarweb.us>:
> |
> | [snip - inetd works, no it doesn't, yes it does, etc]
> |
>
> Perhaps we're not talking about UNIX, but rather BeOS, which neither
> supports the functionality required for inetd, nor is in any way intended
> to be used as a network server. So, yes, something like that.
>
> To recapitulate, the original poster thought it might be nice to have
> an SMTP and POP3 service for his site, which hosts himself, his spouse
> and one or two children, on BeOS. He has experimented with commercial
> software, but for whatever reason thought it might be interesting to
> try a Python implementation. Before setting out to write it himself,
> he asked - precipitating the most ridiculous thread you ever saw -
> whether anyone had already done so.
I suppose you've got me. I forgot the original thread was about BeOS, and
I never knew that the inetd approach didn't work there. ;)
>
> |
> | [snip - Threads can be bad]
> |
> | Or is this wrong, too?
>
> Only in this particular context, where forked processes don't inherit
> sockets and the development effort targets a 3 user site. I suffer
> from a multiple personality disorder, in which one personality programs
> on BeOS and finds threads acceptable and natural, and the other programs
> on UNIX and avoids threads like the plague. Personality 2 agrees
> emphatically with everything stated above.
>
Ahh. Some of the interesting stories about threading on BeOS come back to
me, now. I suppose it is a very different landscape.
As for myself, I rarely find myself programming outside of UNIX, so I tend
to get locked into the UNIX mindset... Thank you for reminding me that some
things are different (and not in a necessarily "broken" way, like that other
OS) on other platforms.
Jp
--
http://catandgirl.com/view.cgi?90
--
up 14 days, 23:59, 6 users, load average: 0.00, 0.02, 0.00
More information about the Python-list
mailing list