Re: tmda-ofmipd raises exception on TLS

Ole Wolf <[email protected]>
Newsgroups gmane.mail.spam.tmda.user
Message-ID <[email protected]>
> Can you run tmda-ofmipd manually, in the foreground (-f) with debugging
> turned on (-d) and post the debug output? (note: Remove the password
> hash when you post since it's plain text equivalent).

Certainly! Unfortunately, the only output from an attempt to send email via 
kmail or Thunderbird using SSL and plain auth produces the debug output 
appended below. There's no password hash to remove from the debug output; I'm 
not sure it even gets as far as receiving the password hash before it 
crashes.

tmda-ofmipd is started as follows (it works without the ssl switches, but 
obviously only for unencrypted connections):

# tmda-ofmipd -d -f -p 0.0.0.0:8025 -R 
pop3://localhost --ssl --ssl-key=/var/qmail/ssl/smtphost.key --ssl-cert=/var/qmail/ssl/smtphost.cert

Debug output:

auth method: pop3://localhost:110/

**********************************************************************
WARNING: The security implications and risks of running /usr/bin/tmda-
ofmipd in "seteuid" mode have not been fully evaluated.  If you are
uncomfortable with this, quit now and instead run /usr/bin/tmda-ofmipd
under your non-privileged TMDA user account.
**********************************************************************

tmda-ofmipd started at Sun, 13 Jan 2008 09:07:43 +0100
        Listening on 0.0.0.0:8025
Incoming connection from: ('192.168.1.103', 47514)
Incoming connection to: ('192.168.1.2', 8025)
Data: 'EHLO wolf.blazingangles.com'
error: uncaptured python exception, closing channel <__main__.SMTPSession 
connected 192.168.1.103:47514 at 0xa08ed8c> (<type 'exceptions.ValueError'>: 
[/usr/lib/python2.5/asyncore.py|read|68] [/usr/lib/python2.5/asyncore.py|
handle_read_event|390] [/usr/bin/tmda-ofmipd|handle_read|1285] 
[/usr/lib/python2.5/site-packages/tlslite/integration/AsyncStateMachine.py|
inReadEvent|132] 
[/usr/lib/python2.5/site-packages/tlslite/integration/AsyncStateMachine.py|
_doReadOp|177] [/usr/bin/tmda-ofmipd|outReadEvent|1312] 
[/usr/lib/python2.5/asynchat.py|handle_read|137] [/usr/bin/tmda-ofmipd|
found_terminator|222] [/usr/bin/tmda-ofmipd|smtp_EHLO|463] 
[/usr/bin/tmda-ofmipd|push|189] [/usr/lib/python2.5/asynchat.py|push|160] 
[/usr/lib/python2.5/asynchat.py|initiate_send|219] [/usr/bin/tmda-ofmipd|
send|1331] 
[/usr/lib/python2.5/site-packages/tlslite/integration/AsyncStateMachine.py|
setWriteOp|231] 
[/usr/lib/python2.5/site-packages/tlslite/integration/AsyncStateMachine.py|
_doWriteOp|181] [/usr/lib/python2.5/site-packages/tlslite/TLSRecordLayer.py|
writeAsync|254])
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBHicnozxilSvlp81ARAkjUAKD4F7PpD3+T/xeKAFzhAM/4/NYk9gCg6MAg
i8HrNm8T3162vYyAhPc+Ibs=
=vtOi
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.