Hugo, You are trying to connect to port 587 in your localhost address (127.0.0.1). Do you have a TLS smtp enabled service running on that port? You probably don’t. Instead you should have the hostname of ip address of an external SMTP server that listens on port 587. Certainly on your application that I assume you must configure ip address 127.0.0.1 as smtp destination server. Hope this helps. RegardsJose On Tuesday, July 30, 2024 at 12:00:46 PM GMT-5, Hugo Sarkissian via stunnel-users stunnel-users@stunnel.org wrote:
Hello,
Tried to configure stunnel linked to pdm (solidworks)
When I try I have an error : Service [ssmtp] started
2024.07.30 15:01:27 LOG7[1]: Setting local socket options (FD=1184)
2024.07.30 15:01:27 LOG7[1]: Option TCP_NODELAY set on local socket
2024.07.30 15:01:27 LOG5[1]: Service [ssmtp] accepted connection from 127.0.0.1:60652
2024.07.30 15:01:27 LOG6[1]: Peer certificate not required
2024.07.30 15:01:27 LOG7[1]: TLS state (accept): before SSL initialization
2024.07.30 15:01:37 LOG7[1]: TLS alert (write): fatal: record overflow
2024.07.30 15:01:37 LOG3[1]: error queue: ssl/record/rec_layer_s3.c:645: error:0A000139:SSL routines::record layer failure
2024.07.30 15:01:37 LOG3[1]: SSL_accept: ssl/record/methods/tls_common.c:654: error:0A0000C6:SSL routines::packet length too long
2024.07.30 15:01:37 LOG5[1]: Connection reset/closed: 0 byte(s) sent to TLS, 0 byte(s) sent to socket
2024.07.30 15:01:37 LOG7[1]: Local descriptor (FD=1184) closed
2024.07.30 15:01:37 LOG7[1]: Service [ssmtp] finished (0 left)
My config :
; Configuration de Stunnel
; Niveau de journalisation
debug = 7
output = stunnel.log
; Service SMTP sécurisé
[ssmtp]
accept = 127.0.0.1:25
connect = 127.0.0.1:587
cert = C:\Program Files (x86)\stunnel\config\stunnel.pem
key = C:\Program Files (x86)\stunnel\config\stunnel.pem
; Protocoles et suites de chiffrement
sslVersion = all
ciphers = ALL:!aNULL:!MD5
renegotiation = no
options = NO_SSLv2
TIMEOUTclose = 0
Can you help me please
| | Hugo SarkissianIT Operation Support Technician Piab Group Montelier FR(+33) 7 88 06 22 31Hugo.Sarkissian@piabgroup.com
|
Please consider your environmental responsibility. Before printing this email message, ask yourself whether you really need a hard copy.
_______________________________________________ stunnel-users mailing list -- stunnel-users@stunnel.org To unsubscribe send an email to stunnel-users-leave@stunnel.org