Hans Fuchs <[EMAIL PROTECTED]> writes:
> I updated my debian sarge system:
>
> python2.3.2
> tmda0.86
> .....
>
> IMAPS stopped working:
> -----
> fangorn:/home/tom# python /usr/bin/tmda-ofmipd -f -R imaps://213.144.137.145
> -p 192.168.254.1:8026
[...]
> Anyone an idea where the problem comes from??
The imaplib.py that comes with Python 2.3 is different from the one in
Python 2.2, which exposes a problem in the tmda-ofmipd code. I'll get
this fixed tonight and checked in. For now, I've attached a quick
patch that will hopefully get you up and running. I've not tested
this at all, but it seems simple enough and should continue to work
with the imaplib that comes with Python 2.2.
$ cd /.../tmda-0.86/bin
$ patch < /path/to/ofmipd.diff
Tim
Index: tmda-ofmipd
===================================================================
RCS file: /cvsroot/tmda/tmda/bin/tmda-ofmipd,v
retrieving revision 1.40
diff -u -r1.40 tmda-ofmipd
--- tmda-ofmipd 30 Oct 2003 18:18:56 -0000 1.40
+++ tmda-ofmipd 5 Nov 2003 00:13:03 -0000
@@ -384,7 +384,7 @@
read, readline, send, shutdown.
"""
self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
- self.sock.connect((self.host, self.port))
+ self.sock.connect((host, port))
self.sslsock = socket.ssl(self.sock)
self.file = self.sock.makefile('rb')
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users