From 706020010755010564047a671d2028a939c3bd3b Mon Sep 17 00:00:00 2001 From: "Jean-Marc Pigeon (Delson)" Date: Wed, 6 Aug 2025 14:35:18 -0400 Subject: [PATCH] Better explaination on disconnect and credit too low --- lib/lvleml.c | 1 + lib/lvleml.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- 2.47.3