-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Oct 5, 2006, at 9:33 PM, Tokio Kikuchi wrote:
>> Take a look at r8050. I've fixed the status codes and also done a >> bunch of other refactoring. Note that I haven't yet tried to hook >> this up to a real Postfix (or other LMTP client), but it seems to do >> the right thing when you telnet to localhost:8025. Give it a try and >> let me know what you think. I plan on testing Postfix integration, >> perhaps tomorrow. > > It's working just fine on my test environment. Excellent, thanks! > Now wonder if we can put a MailmanHTTPRunner(Server) in mailman-2.2. > This should completely get rid of the setgid problem in the > installation. Actually, something that emf mentioned a while ago: we should adapt the current web interface to WSGI and then perhaps use wsgiref.simple_server(): http://www.python.org/doc/current/lib/module-wsgiref.simpleserver.html Of course, this comes with Python 2.5, but I believe is available as a distutils package for Python 2.4. The advantage is not only that we can do away with the setgid stuff, but that our web interface (even if nothing else is rewritten) can be dropped into any WSGI compliant framework. In theory. I haven't actually tried any of that yet, but currently that's the directly I'm thinking 2.2 should move to. (But yes, that does probably mean we could include a wsgiref.simple_server()-based runner of sorts, although that's going to be a bit of a misnomer :) - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iQCVAwUBRSZPwHEjvBPtnXfVAQKbawQAuVCAFWFGxR6lrSLaIhjWToTvEQrxbuny V5CIMbKj+1TDKeuQUbpzVjkVZ0KAjgH1cPBq6CuQfQVui3FUm924LxfJyqi9Yd3v hNvtWDf8+1lPbXEsf1xH5iCQQIDLu9+1rCNUw8oMcndo5Ibxo5P6L2NCyATNfjXn YxObfiq+gP0= =Wfuw -----END PGP SIGNATURE----- _______________________________________________ Mailman-Developers mailing list Mailman-Developers@python.org http://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-developers/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp