From: Jean-Marc Pigeon (Delson) Date: Wed, 6 Aug 2025 18:35:18 +0000 (-0400) Subject: Better explaination on disconnect and credit too low X-Git-Tag: tag-0.15~25 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=706020010755010564047a671d2028a939c3bd3b;p=jmp%2Fmailleur Better explaination on disconnect and credit too low --- diff --git a/lib/lvleml.c b/lib/lvleml.c index 4d5963d..cdd189d 100644 --- a/lib/lvleml.c +++ b/lib/lvleml.c @@ -391,6 +391,7 @@ while (proceed==true) { contact->peername, contact->peerip, srv->credit,"too low"); + (void) setterminator(contact,"Remote server credit is too low"); status=BLCKLST; (void) transmit(contact,true,"%d-4.5.7 Originator server IP [%s] black listed <%s>", status,contact->peerip,cmt); diff --git a/lib/lvleml.h b/lib/lvleml.h index 3baf351..3a69147 100644 --- a/lib/lvleml.h +++ b/lib/lvleml.h @@ -32,7 +32,7 @@ typedef struct { AFNTYP **relayok; //List of IP which are relayable int numreset; //number of SMTP reset received char *mainsesid; //session main ID - char *termend; //contact ending condition + char *termend; //contact ending condition SESTYP *session; //SMTP current session information char *mailfrom; //current mail from originator RCPTYP **recipients; //List of email recipient