From 21122eec49f7f9868bac6e677112df3611ddc4ba Mon Sep 17 00:00:00 2001 From: "Jean-Marc Pigeon (Delson)" Date: Wed, 20 Aug 2025 05:11:23 -0400 Subject: [PATCH] bad credit set for wrong dohelo and doehlo --- lib/lvleml.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.47.3