I figured it out with the help from http://mac-blog.org.ua/test-ssl-smtp/
I needed the " -crlf -ign_eof" arguments to openssl. socketTLS works
just fine now with openssl on the command line.
mike@lic4u:/share/james/conf$ /usr/bin/openssl s_client -quiet -connect
localhost:465-crlf -ign_eof
Well, sure it could be the openssl client causing this issue (I hadn't
time to try it myself), but as already said: SSL/TLS should just act as
an additional layer sandwiched in between the TCP layer wich provides
the connection itself and the SMTP layer on top of it as a kind of an
"interface"
yeah, I think it's using openssl to test with that is causing the
issue. I turned DEBUG On for smtpserver using the log4j instead of the
of the java property in cli mode since I didn't know exactly how to
execute james in cli mode. Using openssl for testing just seems to hang
at the " ending
Hey Mike,
I still can't see this should be a TLS related error. TLS simply adds an
additional layer ensuring security. If your issue would be caused by
anything TLS related you either wouldn't get a connection at all - or
you should get an error on either side (wich I guess openssl would
yes, when I set the socketTLS to false and the binding address back with
port 25, it seems to work just fine. It just seems to hang when I'm
inputting the the message itself when set to port 465 with socketTLS set
to true. Am I not able to use openssl like that to actually send an
email on
Hello Mike,
this doesn't look like an TLS-based error to me because the connection gets
established and you can get somd commands to work. If this issue would be
related to anything on the secure layer most likely the connection wouldn't
established at all.
Did you already tried if it works
I can't seem to get james3 to work with smtpserver for socketTLS on port
465.
when I execute this command it just seems to hang at the end and not
complete the send. any ideas? Am I not running the send command
properly? I have smtpserver.xml configured for socketTLS.
0.0.0.0:465
...