From: Jean-Marc Pigeon (Delson) Date: Tue, 24 Jun 2025 10:59:45 +0000 (-0400) Subject: Bug fix (no MX detection) X-Git-Tag: tag-0.9^0 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=77b5ffc727e0d50f0e199587cb397d52275bbcd3;p=jmp%2Fmailleur Bug fix (no MX detection) --- 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;