From ee187b8ca57b54fa5c4f0294c9145484e4cd0648 Mon Sep 17 00:00:00 2001 From: "Jean-Marc Pigeon (Delson)" Date: Fri, 20 Jun 2025 17:50:07 -0400 Subject: [PATCH] Able to send to both mailref1 and mailpostg --- Makefile | 3 +-- lib/gestcp.c | 1 + lib/lvleml.c | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 65c0f5d..b046a8f 100644 --- a/Makefile +++ b/Makefile @@ -94,9 +94,8 @@ tlsrcvr : -cert certs/localhost-cert.pem \ -key certs/localhost-key.pem \ -starttls smtp \ - -connect $(TESTSRV):$(TESTPORT) + -connect mailpostg.example.com:25 # -connect smtp1.example.com:25 -# -connect mailpostg.example.com:25 # -connect courriel.colba.net:25 # -connect mx1.free.fr:25 # -connect $(TESTSRV):$(TESTPORT) diff --git a/lib/gestcp.c b/lib/gestcp.c index 7b46c45..d7ecc15 100644 --- a/lib/gestcp.c +++ b/lib/gestcp.c @@ -134,6 +134,7 @@ if (socptr!=(SOCPTR *)0) { taille=strlen(buffer); if (taille>0) sent=soc_writebuffer(socptr,buffer,taille); + (void) rou_alert(0,"JMPDBG itaille='%d' Swrite=<%s>",taille,buffer); } return sent; } diff --git a/lib/lvleml.c b/lib/lvleml.c index 959fa1c..bf55c5d 100644 --- a/lib/lvleml.c +++ b/lib/lvleml.c @@ -888,6 +888,7 @@ while (proceed==true) { switch (done) { case true : (void) log_fprintlog(rmt->logptr,false,"crypted link is now set"); + (void) usleep(10000); //10 ms delay rspcode=simple_smtp_command(rmt,"EHLO %s",rmt->orgdomain); switch (rspcode) { case CMDOK : -- 2.47.3