From: Jean-Marc Pigeon (Delson) Date: Fri, 20 Jun 2025 21:50:07 +0000 (-0400) Subject: Able to send to both mailref1 and mailpostg X-Git-Tag: tag-0.9~61 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=ee187b8ca57b54fa5c4f0294c9145484e4cd0648;p=jmp%2Fmailleur Able to send to both mailref1 and mailpostg --- 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 :