From: Jean-Marc Pigeon (Delson) Date: Wed, 20 Aug 2025 09:11:23 +0000 (-0400) Subject: bad credit set for wrong dohelo and doehlo X-Git-Tag: end-0.15~100 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=21122eec49f7f9868bac6e677112df3611ddc4ba;p=jmp%2Fmailleur bad credit set for wrong dohelo and doehlo --- diff --git a/lib/lvleml.c b/lib/lvleml.c index f3061d7..7838bd2 100644 --- a/lib/lvleml.c +++ b/lib/lvleml.c @@ -1405,6 +1405,7 @@ _Bool done; if ((done=isgoodfqdn(contact,parameter))==false) { (void) eml_transmit(contact,true,"%d 5.5.4 %s.",BADPAR,DETAIL); (void) setterminator(contact,"HELO parameter missing"); + contact->credit-=2; } else (void) linkready(contact,false); @@ -1456,6 +1457,7 @@ while (proceed==true) { if ((done=isgoodfqdn(contact,parameter))==false) { (void) eml_transmit(contact,true,"%d 5.5.4 %s.",BADPAR,DETAIL); (void) setterminator(contact,"EHLO parameter missing"); + contact->credit-=2; //penalty phase=999; //Trouble trouble } break;