]> SAFE projects GIT repository - jmp/mailleur/commitdiff
Better explaination on disconnect and credit too low
authorJean-Marc Pigeon (Delson) <jmp@safe.ca>
Wed, 6 Aug 2025 18:35:18 +0000 (14:35 -0400)
committerJean-Marc Pigeon (Delson) <jmp@safe.ca>
Wed, 6 Aug 2025 18:35:18 +0000 (14:35 -0400)
lib/lvleml.c
lib/lvleml.h

index 4d5963d200213afa4c41f97e19b8a540493245ca..cdd189d6288d9c9ba83198c418ecba020d72f195 100644 (file)
@@ -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);
index 3baf35187d36ed91136aceaef88214ce839415be..3a69147ba324c6351fd7c307c22fc60e7895c274 100644 (file)
@@ -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