on 11-05-2019 8:56 AM
I am facing a problem while sending mail to SAP using command line. When the command STARTTLS triggered a return code of 220(OK) is given but when I start writing the mail, the connection gets broken. the error code in smicm is as following.
*** ERROR => IcmPlConnStartSSL: SapSSLSessionStart returned (-25): SSSLERR_NO_SSL_REQUEST [icxxplugin.c 2481]f
full smicm logs with trace level 2 is under the screenshots. The used parameters from note 510007 is also shared.
[Thr 9740] SSL:SiRecv(sock=8112)== 0 (SI_OK) (in=2, max=6) [Thr 9740] Peer is no SSL/TLS Client ["auth " 61 75 74 68 20] [Thr 9740] SSL NI-hdl 116: local=127.0.0.1:25000 peer=127.0.0.1:57558
[Thr 9740] <<- WARNING: SapSSLSessionStartNB(sssl_hdl=0000003A7E58F270)==SSSLERR_NO_SSL_REQUEST [Thr 9740] <<- SapSSLErrorName()==SSSLERR_NO_SSL_REQUEST [Thr 9740] *** ERROR => IcmPlConnStartSSL: SapSSLSessionStart returned (-25): SSSLERR_NO_SSL_REQUEST [icxxplugin.c 2481]
[Thr 9740] IcmPlConnStartSSL: SapSSLSessionStart returned (-25): SSSLERR_NO_SSL_REQUEST [icxxplugin.c 2493]
[Thr 9740] <<- SapSSLSessionDoneNB()==SAP_O_K
[Thr 9740] in: sssl_hdl = 0000003A7E58F270
[Thr 9740] in/out: ... ni_hdl = 116
[Thr 9740] SMTP SmtpServerRecvStartTLS: IcmPlConnStartSSL() = -14
[Thr 9740] MPI<29>4#50 DiscardOutbuf 1 0 0 204220 0 0 -> 00000000112F4270 MPI_OK
[Thr 9740] IcmPlCheckRetVal: Plugin retval: PLUGIN_RET_ERROR (701)
[Thr 9740] IcmHandleNetRead(id=1/31): read_len: 2, HandleNetData returned: 701
[Thr 9740] MPI<29>4#51 Cancel 7 -> MPI_OK
[Thr 9740] MPI<2a>3#3 Cancel 7 -> MPI_OK
[Thr 9740] SMTP PlugInStopConn: close connection
[Thr 9740] SMTP SmtpServerClose: connection closed
[Thr 9740] MPI<29>4#52 Close( 4 ) opt=4 del=0( 1 0 ) wakeup=0-> MPI_OK
[Thr 9740] MPI<29>4#54 Delete( 4 ) -> MPI_OK
[Thr 9740] MPI<29>4#53 Close( 4 ) opt=4 del=1( 0 0 ) wakeup=0-> MPI_OK [Thr 9740] MPI<2a>3#4 Close( 3 ) opt=4 del=0( 0 1 ) wakeup=0-> MPI_OK
[Thr 9740] MPI<2a>3#6 Delete( 3 ) -> MPI_OK [Thr 9740] MPI<2a>3#5 Close( 3 ) opt=4 del=1( 0 0 ) wakeup=0-> MPI_OK
[Thr 9740] NiICloseHandle: shutdown and close hdl 116/sock 8112 [Thr 9740] IcmConnClose: Connection 1/31 closed
[Thr 9740] IcmServDecrRefCount: SAPERPDEV.savcan.com:25000 - new serv_ref_count: 0
[Thr 9740] REQ TRACE END: 1/31/3
[Thr 9740] IcmWorkerThread: Thread 6: Waiting for event
[Thr 9740] DpRqFreePendingRequests: freed 0 pending request
Hello Oguzhan,
The "STARTTLS" SMTP command means that you want to encrypt the data.
I guess that you will not be able to simulate sending an encrypted email through the command line / telnet :-).
Regards,
Isaías
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
9 | |
9 | |
7 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.