]> SAFE projects GIT repository - jmp/mailleur/commitdiff
Able to send to both mailref1 and mailpostg
authorJean-Marc Pigeon (Delson) <jmp@safe.ca>
Fri, 20 Jun 2025 21:50:07 +0000 (17:50 -0400)
committerJean-Marc Pigeon (Delson) <jmp@safe.ca>
Fri, 20 Jun 2025 21:50:07 +0000 (17:50 -0400)
Makefile
lib/gestcp.c
lib/lvleml.c

index 65c0f5d6c3cb7d9be7da9a15e57f79a79bef0eaa..b046a8fab6c9c3d1feb8fd2a72afea9ea177b7f6 100644 (file)
--- 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) 
index 7b46c45140de5174fe4fc3d489071fdaa28146d6..d7ecc158b7e5e45d43c67ea9b65b2962dd5ed230 100644 (file)
@@ -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;
 }
index 959fa1c24ea4536ec2aa275949b1398000dde0c0..bf55c5dbfeec852c0b8f4088db9114362b2db884 100644 (file)
@@ -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      :