From: Jean-Marc Pigeon (Delson) Date: Thu, 19 Jun 2025 16:44:46 +0000 (-0400) Subject: No Status to be returned when the crypted link is established X-Git-Tag: tag-0.9~80 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=6acbd393cb7171e0ef5e1317a94eeeb9b052ec70;p=jmp%2Fmailleur No Status to be returned when the crypted link is established --- diff --git a/Makefile b/Makefile index d441699..705a691 100644 --- a/Makefile +++ b/Makefile @@ -93,8 +93,8 @@ tlsrcvr : -cert certs/localhost-cert.pem \ -key certs/localhost-key.pem \ -starttls smtp \ - -connect mailpostg.example.com:25 -# -connect $(TESTSRV):$(TESTPORT) + -connect $(TESTSRV):$(TESTPORT) +# -connect mailpostg.example.com:25 go465 : @ clear diff --git a/data-feed/feed02.tst b/data-feed/feed02.tst index e63723f..0007c32 100644 --- a/data-feed/feed02.tst +++ b/data-feed/feed02.tst @@ -6,15 +6,15 @@ R:250 mailleur.example.com, link (cleartext) ready,... S:MAIL FROM: R:250 2.1.3 postmaster@example.com.. sender ok S:RCPT TO: -R:250 2.6.4 Address accepted +R:250 2.6.4 Address accepted S:RCPT TO: -R:250 2.6.4 Address accepted +R:250 2.6.4 Address accepted S:RCPT TO: -R:250 2.6.4 Address accepted +R:250 2.6.4 Address accepted S:RCPT TO: -R:250 2.6.4 Address accepted +R:250 2.6.4 Address accepted S:RCPT TO: -R:250 2.6.4 Address accepted +R:250 2.6.4 Address accepted #------------------------------------------------------------------------- #-sending data C:DATA 354 3.5.0 End data with . diff --git a/lib/lvleml.c b/lib/lvleml.c index 19ddb59..aa21f67 100644 --- a/lib/lvleml.c +++ b/lib/lvleml.c @@ -1467,8 +1467,10 @@ while (proceed==true) { case c_starttls : //EHLO start encrypted link in server mode switch (soc_starttls(contact->socptr,true)) { case true : //link now in TLS crypted mode +/* JMPDBG (void) transmit(contact,"%d Link now encrypted (cipher=<%s>)", CMDOK,soc_get_cipher_name(contact->socptr)); +*/ break; case false : //unable to establish link (void) transmit(contact,"%d 5.3.3 command starttls not successful",