Re: tmda-ofmipd: Internal support for SSL via tlslite package
[email protected] (Jason R. Mastaler) Sun, 04 Mar 2007 13:12:35 -0700
| Newsgroups | gmane.mail.spam.tmda.devel |
|---|---|
| Message-ID | <[email protected]> |
Stephen Warren <[email protected]> writes: > From this, it seems that all your problems are with MacOS X, and > it's independent of single/dual-CPU. If that's correct, is it > possible for you to test Linux clients against the Mac server and > Mac clients against the Linux server, to see if it's a Mac client or > server issue? That's correct. Only OS X and only --ssl (--tls works). * Linux server / Mac client: - I tested with GyazMail and it worked fine, when it did not before when running against a Mac server (localhost). * Mac server / Linux client: - Evolution on Linux crashes with the following monster traceback. So it looks like this is a Mac server issue? nadja:~/svn/tmda/trunk jasonrm$ python2.5 bin/tmda-ofmipd -f -d --ssl --ssl-cert=~/.tmda/nadja.pem --ssl-key=~/.tmda/nadja.pem tmda-ofmipd started at Sun, 04 Mar 2007 13:09:28 -0700 Listening on nadja:8025 TlsRecordLayer.__init__: Set self.closed at startup handshake: cipherSuites= [53, 47, 10, 5] handshake: clientHello.cipher_suites= [65664, 196736, 458944, 393280, 131200, 262272, 4, 65279, 10, 65278, 9, 100, 98, 3, 6] Incoming connection from: ('172.18.3.101', 34750) Incoming connection to: ('172.18.3.17', 8025) TLSConnection._handshakeWrapperAsync: _shutdown: Exception (!fault path) Traceback (most recent call last): File "/sw/lib/python2.5/site-packages/tlslite/TLSConnection.py", line 1542, in _handshakeWrapperAsync yield result GeneratorExit TlsRecordLayer._shutdown: Set self.closed File "bin/tmda-ofmipd", line 1428, in <module> main() File "bin/tmda-ofmipd", line 1421, in main asyncore.loop() File "/sw/lib/python2.5/asyncore.py", line 191, in loop poll_fun(timeout, map) File "/sw/lib/python2.5/asyncore.py", line 132, in poll read(obj) File "/sw/lib/python2.5/asyncore.py", line 68, in read obj.handle_read_event() File "/sw/lib/python2.5/asyncore.py", line 384, in handle_read_event self.handle_accept() File "bin/tmda-ofmipd", line 1370, in handle_accept SMTPSession(conn, self._process_msg_func) File "bin/tmda-ofmipd", line 737, in __init__ self.signon() File "bin/tmda-ofmipd", line 762, in signon self.push('220 %s ESMTP tmda-ofmipd' % (self.__fqdn)) File "bin/tmda-ofmipd", line 767, in push asynchat.async_chat.push(self, msg + '\r\n') File "/sw/lib/python2.5/asynchat.py", line 160, in push self.initiate_send() File "/sw/lib/python2.5/asynchat.py", line 219, in initiate_send num_sent = self.send (self.ac_out_buffer[:obs]) File "bin/tmda-ofmipd", line 502, in send self.setWriteOp(writeBuffer) File "/sw/lib/python2.5/site-packages/tlslite/integration/AsyncStateMachine.py", line 233, in setWriteOp self._clear() File "/sw/lib/python2.5/site-packages/tlslite/integration/AsyncStateMachine.py", line 28, in _clear self.handshaker = None File "/sw/lib/python2.5/site-packages/tlslite/TLSConnection.py", line 1034, in handshakeServerAsync yield result File "/sw/lib/python2.5/site-packages/tlslite/TLSConnection.py", line 1556, in _handshakeWrapperAsync self._shutdown(False) File "/sw/lib/python2.5/site-packages/tlslite/TLSRecordLayer.py", line 467, in _shutdown traceback.print_stack() error: uncaptured python exception, closing channel <__main__.SMTPServer listening nadja:8025 at 0x14298a0> (<type 'exceptions.AssertionError'>: [/sw/lib/python2.5/asyncore.py|read|68] [/sw/lib/python2.5/asyncore.py|handle_read_event|384] [bin/tmda-ofmipd|handle_accept|1370] [bin/tmda-ofmipd|__init__|737] [bin/tmda-ofmipd|signon|762] [bin/tmda-ofmipd|push|767] [/sw/lib/python2.5/asynchat.py|push|160] [/sw/lib/python2.5/asynchat.py|initiate_send|219] [bin/tmda-ofmipd|send|502] [/sw/lib/python2.5/site-packages/tlslite/integration/AsyncStateMachine.py|setWriteOp|229] [/sw/lib/python2.5/site-packages/tlslite/integration/AsyncStateMachine.py|_checkAssert|62]) TLSRecordLayer.readAsync: Raise: GeneratorExit TLSRecordLayer.writeAsync: Raise: Closed TLSRecordLayer.writeAsync: Exception: Traceback (most recent call last): File "/sw/lib/python2.5/site-packages/tlslite/TLSRecordLayer.py", line 272, in writeAsync raise ValueError() ValueError TlsRecordLayer._shutdown: Set self.closed File "bin/tmda-ofmipd", line 1428, in <module> main() File "bin/tmda-ofmipd", line 1421, in main asyncore.loop() File "/sw/lib/python2.5/asyncore.py", line 191, in loop poll_fun(timeout, map) File "/sw/lib/python2.5/asyncore.py", line 138, in poll write(obj) File "/sw/lib/python2.5/asyncore.py", line 76, in write obj.handle_write_event() File "/sw/lib/python2.5/asyncore.py", line 397, in handle_write_event self.handle_write() File "bin/tmda-ofmipd", line 465, in handle_write self.inWriteEvent() File "/sw/lib/python2.5/site-packages/tlslite/integration/AsyncStateMachine.py", line 150, in inWriteEvent self.outWriteEvent() File "bin/tmda-ofmipd", line 488, in outWriteEvent self.siblingClass.handle_write(self) File "/sw/lib/python2.5/asynchat.py", line 153, in handle_write self.initiate_send () File "/sw/lib/python2.5/asynchat.py", line 219, in initiate_send num_sent = self.send (self.ac_out_buffer[:obs]) File "bin/tmda-ofmipd", line 502, in send self.setWriteOp(writeBuffer) File "/sw/lib/python2.5/site-packages/tlslite/integration/AsyncStateMachine.py", line 231, in setWriteOp self._doWriteOp() File "/sw/lib/python2.5/site-packages/tlslite/integration/AsyncStateMachine.py", line 181, in _doWriteOp self.result = self.writer.next() File "/sw/lib/python2.5/site-packages/tlslite/TLSRecordLayer.py", line 294, in writeAsync self._shutdown(False) File "/sw/lib/python2.5/site-packages/tlslite/TLSRecordLayer.py", line 467, in _shutdown traceback.print_stack() error: uncaptured python exception, closing channel <__main__.SMTPSession connected 172.18.3.101:34750 at 0x14299b8> (<type 'exceptions.ValueError'>: [/sw/lib/python2.5/asyncore.py|write|76] [/sw/lib/python2.5/asyncore.py|handle_write_event|397] [bin/tmda-ofmipd|handle_write|465] [/sw/lib/python2.5/site-packages/tlslite/integration/AsyncStateMachine.py|inWriteEvent|150] [bin/tmda-ofmipd|outWriteEvent|488] [/sw/lib/python2.5/asynchat.py|handle_write|153] [/sw/lib/python2.5/asynchat.py|initiate_send|219] [bin/tmda-ofmipd|send|502] [/sw/lib/python2.5/site-packages/tlslite/integration/AsyncStateMachine.py|setWriteOp|231] [/sw/lib/python2.5/site-packages/tlslite/integration/AsyncStateMachine.py|_doWriteOp|181] [/sw/lib/python2.5/site-packages/tlslite/TLSRecordLayer.py|writeAsync|272])