From 77b5ffc727e0d50f0e199587cb397d52275bbcd3 Mon Sep 17 00:00:00 2001 From: "Jean-Marc Pigeon (Delson)" Date: Tue, 24 Jun 2025 06:59:45 -0400 Subject: [PATCH] Bug fix (no MX detection) --- app/sorter.c | 2 +- lib/lvleml.c | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/sorter.c b/app/sorter.c index a05a381..88acadc 100644 --- a/app/sorter.c +++ b/app/sorter.c @@ -136,7 +136,7 @@ while (proceed==true) { action|=scantrans(EXTRANS,true); break; case 3 : //got signal - action|=scantrans(EXTRANS,true); + action|=scantrans(EXDONE,false); break; case 4 : //one passe only? if (foreground==true) diff --git a/lib/lvleml.c b/lib/lvleml.c index b9e7c32..43bbbb4 100644 --- a/lib/lvleml.c +++ b/lib/lvleml.c @@ -1066,8 +1066,12 @@ while (proceed==true) { } mxs++; } - if (rmt->socptr==(SOCPTR *)0) - phase=999; //No NX found! + if (rmt->socptr==(SOCPTR *)0) { + (void) rou_alert(0,"%s Found NO MX available for domain <%s>", + OPEP,dstdomain); + rmt=close_mx(rmt); //closing remote connection + phase=999; //No NX found! + } break; case 3 : //waitin MX signon int res; -- 2.47.3